OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Fix content description for notification icons" into nyc-dev
Adrian Roos [Sat, 23 Apr 2016 01:51:01 +0000 (01:51 +0000)]
Merge "Fix content description for notification icons" into nyc-dev
am: eefff37

* commit 'eefff3742de62101341128a32b227a25ed22df06':
  Fix content description for notification icons

Change-Id: I1b150df0a92f47d2d893c18ada72020601527ed8

8 years agoMerge "Fix content description for notification icons" into nyc-dev
TreeHugger Robot [Sat, 23 Apr 2016 01:45:00 +0000 (01:45 +0000)]
Merge "Fix content description for notification icons" into nyc-dev

8 years agoMerge "Fix a regression in assist when context is disabled" into nyc-dev
Amith Yamasani [Sat, 23 Apr 2016 01:01:58 +0000 (01:01 +0000)]
Merge "Fix a regression in assist when context is disabled" into nyc-dev
am: c3c45fa

* commit 'c3c45fa2e0c5779e3e847dd4878c2a9d1ba2fb36':
  Fix a regression in assist when context is disabled

Change-Id: I6209180e67e91ac264e50be957d87c2d897bcc3c

8 years agoMerge "Fix a regression in assist when context is disabled" into nyc-dev
TreeHugger Robot [Sat, 23 Apr 2016 00:56:10 +0000 (00:56 +0000)]
Merge "Fix a regression in assist when context is disabled" into nyc-dev

8 years agoMerge "BatteryStats: Fix up semantics of SamplingTimer" into nyc-dev
Adam Lesinski [Sat, 23 Apr 2016 00:23:59 +0000 (00:23 +0000)]
Merge "BatteryStats: Fix up semantics of SamplingTimer" into nyc-dev
am: 1a8a717

* commit '1a8a717ab517e7b5ace00bb4d3370e0f3a2677b2':
  BatteryStats: Fix up semantics of SamplingTimer

Change-Id: Ie2533ead98202eb9c12daa7032fe98ffd4971c56

8 years agoMerge "BatteryStats: Fix up semantics of SamplingTimer" into nyc-dev
Adam Lesinski [Sat, 23 Apr 2016 00:20:09 +0000 (00:20 +0000)]
Merge "BatteryStats: Fix up semantics of SamplingTimer" into nyc-dev

8 years agoMerge "PIP: Changed the wording and background of the PIP onboarding screen" into...
Jaewan Kim [Sat, 23 Apr 2016 00:13:09 +0000 (00:13 +0000)]
Merge "PIP: Changed the wording and background of the PIP onboarding screen" into nyc-dev
am: b27a5fd

* commit 'b27a5fd45b2ae461cfa61dfff52e897d236d0d26':
  PIP: Changed the wording and background of the PIP onboarding screen

Change-Id: I121a159de9c5599ea3769ecc3c6cd50eebadd07f

8 years agoFix content description for notification icons
Adrian Roos [Sat, 23 Apr 2016 00:09:27 +0000 (17:09 -0700)]
Fix content description for notification icons

Change-Id: Icb4c6d8a77211d0c8922e28958609a332b19dfcc
Fixes: 27552350

8 years agoMerge "PIP: Changed the wording and background of the PIP onboarding screen" into...
Jaewan Kim [Sat, 23 Apr 2016 00:04:54 +0000 (00:04 +0000)]
Merge "PIP: Changed the wording and background of the PIP onboarding screen" into nyc-dev

8 years agoPIP: Changed the wording and background of the PIP onboarding screen
Jaewan Kim [Thu, 21 Apr 2016 12:16:28 +0000 (21:16 +0900)]
PIP: Changed the wording and background of the PIP onboarding screen

Bug: 28300868
Change-Id: I73e465ddac5520e0b70098bf6a39fb85d59ad0f9

8 years agoMerge "Raise native-crash socket timeout" into nyc-dev
Christopher Tate [Fri, 22 Apr 2016 23:44:57 +0000 (23:44 +0000)]
Merge "Raise native-crash socket timeout" into nyc-dev
am: aa1b2e2

* commit 'aa1b2e2d4e47ae186df31ffe10f1ed05b951b753':
  Raise native-crash socket timeout

Change-Id: Ie048bfcf8a0843375517f413093a604053bd255e

8 years agoMerge "Show a toast when details cannot be added to zip file." into nyc-dev
Felipe Leme [Fri, 22 Apr 2016 23:34:05 +0000 (23:34 +0000)]
Merge "Show a toast when details cannot be added to zip file." into nyc-dev
am: f39f044

* commit 'f39f04407e6c50d57aaa2358b2f46bc79a94cf4f':
  Show a toast when details cannot be added to zip file.

Change-Id: I076016897ee0af16f31619dd68f34e2db1fa31aa

8 years agoMerge "Added title and button for Data Saver\'s 1st-time dialog." into nyc-dev
Felipe Leme [Fri, 22 Apr 2016 23:34:04 +0000 (23:34 +0000)]
Merge "Added title and button for Data Saver\'s 1st-time dialog." into nyc-dev
am: 19fa93f

* commit '19fa93f64329e52ee69d06feffc979723210edd4':
  Added title and button for Data Saver's 1st-time dialog.

Change-Id: I29f3491f3011827203a4cf026663aab0871b59fa

8 years agoMerge "Rename GET_PASSWORD_PRIVILEGED and make it signature." into nyc-dev
Carlos Valdivia [Fri, 22 Apr 2016 23:34:02 +0000 (23:34 +0000)]
Merge "Rename GET_PASSWORD_PRIVILEGED and make it signature." into nyc-dev
am: ffcba67

* commit 'ffcba67bf9d25d9b8131f0aab9d5c8a4df492b69':
  Rename GET_PASSWORD_PRIVILEGED and make it signature.

Change-Id: I811b452d1b098e7d4606cb23b73918482db62eb6

8 years agoMerge "Disable view recycling to avoid passing wrong type of view to Item.bindView...
Garfield, Tan [Fri, 22 Apr 2016 23:33:59 +0000 (23:33 +0000)]
Merge "Disable view recycling to avoid passing wrong type of view to Item.bindView()." into nyc-dev
am: a5dd3f3

* commit 'a5dd3f32403deb01ad260d50468f4daf8988ab01':
  Disable view recycling to avoid passing wrong type of view to Item.bindView().

Change-Id: Id21f8e5546e28179954e39903baaebf5feff356a

8 years agoMerge "Rename _BOOLEAN visual voicemail config keys to _BOOL" into nyc-dev
Ta-wei Yen [Fri, 22 Apr 2016 23:33:56 +0000 (23:33 +0000)]
Merge "Rename _BOOLEAN visual voicemail config keys to _BOOL" into nyc-dev
am: 8431a48

* commit '8431a48f779939a9c49538d054539321f9421e6c':
  Rename _BOOLEAN visual voicemail config keys to _BOOL

Change-Id: I5c176db61c64048973eae5377164eb658e8ede88

8 years agoFixing issue with swipe-dismiss animation clobbering home animation.
Winson [Fri, 22 Apr 2016 23:33:52 +0000 (23:33 +0000)]
Fixing issue with swipe-dismiss animation clobbering home animation.
am: eca47ef

* commit 'eca47ef813c49c8d8cee2cdc93c296bbc59ed73b':
  Fixing issue with swipe-dismiss animation clobbering home animation.

Change-Id: I6d03a7513a13cc2a88f86709b5cfc53adb222005

8 years agoMerge "Force a relayout when task is resized while not drag resizing." into nyc-dev
Chong Zhang [Fri, 22 Apr 2016 23:33:48 +0000 (23:33 +0000)]
Merge "Force a relayout when task is resized while not drag resizing." into nyc-dev
am: b6cd42a

* commit 'b6cd42a925136f6354555c9c1033d20fbaadd139':
  Force a relayout when task is resized while not drag resizing.

Change-Id: Ieed7be623a63a6385a55eb62ca5bd9254b7b2a2c

8 years agoMerge "Raise native-crash socket timeout" into nyc-dev
Chris Tate [Fri, 22 Apr 2016 23:31:02 +0000 (23:31 +0000)]
Merge "Raise native-crash socket timeout" into nyc-dev

8 years agoMerge "Show a toast when details cannot be added to zip file." into nyc-dev
Felipe Leme [Fri, 22 Apr 2016 23:08:04 +0000 (23:08 +0000)]
Merge "Show a toast when details cannot be added to zip file." into nyc-dev

8 years agoMerge "Added title and button for Data Saver's 1st-time dialog." into nyc-dev
Felipe Leme [Fri, 22 Apr 2016 23:02:15 +0000 (23:02 +0000)]
Merge "Added title and button for Data Saver's 1st-time dialog." into nyc-dev

8 years agoAdded title and button for Data Saver's 1st-time dialog.
Felipe Leme [Fri, 22 Apr 2016 22:46:28 +0000 (15:46 -0700)]
Added title and button for Data Saver's 1st-time dialog.

BUG: 28098106
Change-Id: Icd3d2ee1b62abac738a7ff1c601bf91f6eedfd62

8 years agoMerge "Rename GET_PASSWORD_PRIVILEGED and make it signature." into nyc-dev
Carlos Valdivia [Fri, 22 Apr 2016 22:51:50 +0000 (22:51 +0000)]
Merge "Rename GET_PASSWORD_PRIVILEGED and make it signature." into nyc-dev

8 years agoMerge "Disable view recycling to avoid passing wrong type of view to Item.bindView...
Garfield Tan [Fri, 22 Apr 2016 22:47:37 +0000 (22:47 +0000)]
Merge "Disable view recycling to avoid passing wrong type of view to Item.bindView()." into nyc-dev

8 years agoMerge "Rename _BOOLEAN visual voicemail config keys to _BOOL" into nyc-dev
Ta-wei Yen [Fri, 22 Apr 2016 22:43:57 +0000 (22:43 +0000)]
Merge "Rename _BOOLEAN visual voicemail config keys to _BOOL" into nyc-dev

8 years agoFix a regression in assist when context is disabled
Amith Yamasani [Fri, 22 Apr 2016 22:43:21 +0000 (15:43 -0700)]
Fix a regression in assist when context is disabled

Fixes: 28293783
 CTS: DisableContextTest#testContextAndScreenshotOff failure

When assist context is disabled, make sure that the handleAssist() is
still called with no data.

Change-Id: I569dd9f6de503e62fb04c590214df0f2ce3aa4f3

8 years agoFixing issue with swipe-dismiss animation clobbering home animation.
Winson [Thu, 21 Apr 2016 23:48:50 +0000 (16:48 -0700)]
Fixing issue with swipe-dismiss animation clobbering home animation.

- Finish all dismiss animations when a dismiss-to-home animation is
  started, and prevent lingering deferred layout animation requests
  from running as they will be overwritten anyways.

Bug: 28287904
Change-Id: Ie40c66c0f25705b56f6808607d2b7b8ae4e5a112

8 years agoRaise native-crash socket timeout
Christopher Tate [Fri, 22 Apr 2016 22:27:10 +0000 (15:27 -0700)]
Raise native-crash socket timeout

Stack unwinding can sometimes legitimately take more than 2 seconds.

Bug 28210681

Change-Id: If6fb30c5111e9c85ce98d36a97faa0b5f21bc04d

8 years agoMerge "Force a relayout when task is resized while not drag resizing." into nyc-dev
Chong Zhang [Fri, 22 Apr 2016 22:25:26 +0000 (22:25 +0000)]
Merge "Force a relayout when task is resized while not drag resizing." into nyc-dev

8 years agoMerge "BatteryStats: use the same timestamp for comparing intervals" into nyc-dev
Adam Lesinski [Fri, 22 Apr 2016 22:24:36 +0000 (22:24 +0000)]
Merge "BatteryStats: use the same timestamp for comparing intervals" into nyc-dev
am: 6a4d9a3

* commit '6a4d9a3c9f7cbd30a7093f5088a72271a5e504c7':
  BatteryStats: use the same timestamp for comparing intervals

Change-Id: Ieddb50b7c76448b45349ab1316cd8fc5852006cf

8 years agoMerge "Cleanup of the PackageInstaller API - Frameworks" into nyc-dev
Svet Ganov [Fri, 22 Apr 2016 22:24:35 +0000 (22:24 +0000)]
Merge "Cleanup of the PackageInstaller API - Frameworks" into nyc-dev
am: c947ebd

* commit 'c947ebd66d397782af0870df457ccc4fe83c77cc':
  Cleanup of the PackageInstaller API - Frameworks

Change-Id: Ie0495a0a0126eded843e06924dc0a96d2367a6f0

8 years agoMerge changes Ia8a90434,I35f484c7,I2e87e764 into nyc-dev
Winson [Fri, 22 Apr 2016 22:24:34 +0000 (22:24 +0000)]
Merge changes Ia8a90434,I35f484c7,I2e87e764 into nyc-dev
am: dddfff3

* commit 'dddfff3cddf8c12aba0335eb853f177abb0a68b0':
  Tweaks to make overview animations to match spec.
  Closing system windows when dismissing recents to app or home.
  Caching the display rect to reduce binder calls.

Change-Id: Ic08f9b13b65dc0bebd2dcd79612089a65cca1262

8 years agoShow a toast when details cannot be added to zip file.
Felipe Leme [Fri, 22 Apr 2016 00:30:47 +0000 (17:30 -0700)]
Show a toast when details cannot be added to zip file.

BUG: 28291423
Change-Id: I7febf66ef23f38b41fb1909324ee2260444518f6

8 years agoMerge "BatteryStats: use the same timestamp for comparing intervals" into nyc-dev
Adam Lesinski [Fri, 22 Apr 2016 22:20:35 +0000 (22:20 +0000)]
Merge "BatteryStats: use the same timestamp for comparing intervals" into nyc-dev

8 years agoMerge "Cleanup of the PackageInstaller API - Frameworks" into nyc-dev
Svetoslav Ganov [Fri, 22 Apr 2016 22:18:27 +0000 (22:18 +0000)]
Merge "Cleanup of the PackageInstaller API - Frameworks" into nyc-dev

8 years agoMerge changes Ia8a90434,I35f484c7,I2e87e764 into nyc-dev
Winson Chung [Fri, 22 Apr 2016 22:15:45 +0000 (22:15 +0000)]
Merge changes Ia8a90434,I35f484c7,I2e87e764 into nyc-dev

* changes:
  Tweaks to make overview animations to match spec.
  Closing system windows when dismissing recents to app or home.
  Caching the display rect to reduce binder calls.

8 years agoMerge "Fix black flicker when closing IME" into nyc-dev
Jorim Jaggi [Fri, 22 Apr 2016 22:14:20 +0000 (22:14 +0000)]
Merge "Fix black flicker when closing IME" into nyc-dev
am: ce83dcf

* commit 'ce83dcf4f7ed2082c72b062c7388a4314419e225':
  Fix black flicker when closing IME

Change-Id: Ia358f5ec8240a853d3dfc6c37dd46e2984633fc9

8 years agoForce a relayout when task is resized while not drag resizing.
Chong Zhang [Fri, 22 Apr 2016 22:04:31 +0000 (15:04 -0700)]
Force a relayout when task is resized while not drag resizing.

mResizedWhileNotDragResizing is set is task bounds is resized, however
individual window's size may not change (eg. a floating dialog). The
relayout window may not come and the mResizedWhileNotDragResizing
flag won't get cleared.

bug: 28111853
Change-Id: If8bb79cc07d9c67d6e5685b0adc24a9ce2623ec6

8 years agoMerge "Fix black flicker when closing IME" into nyc-dev
Jorim Jaggi [Fri, 22 Apr 2016 22:08:56 +0000 (22:08 +0000)]
Merge "Fix black flicker when closing IME" into nyc-dev

8 years agoRename GET_PASSWORD_PRIVILEGED and make it signature.
Carlos Valdivia [Fri, 22 Apr 2016 21:10:40 +0000 (14:10 -0700)]
Rename GET_PASSWORD_PRIVILEGED and make it signature.

Now named GET_PASSWORD. Now it is just a signature, not privileged.

Bug: 28295831
Change-Id: Ice93b527edced9546639b6c7096aad933c517548

8 years agoMerge "Remove dependencies on Activity from common Fragment superclasses" into nyc-dev
Adam Powell [Fri, 22 Apr 2016 21:49:28 +0000 (21:49 +0000)]
Merge "Remove dependencies on Activity from common Fragment superclasses" into nyc-dev
am: d2285b1

* commit 'd2285b1f40a714a49602dab5645c194af0eac880':
  Remove dependencies on Activity from common Fragment superclasses

Change-Id: Iabdf356a16290686e84d3f335e61955069355d07

8 years agoBatteryStats: Fix up semantics of SamplingTimer
Adam Lesinski [Thu, 21 Apr 2016 16:55:41 +0000 (09:55 -0700)]
BatteryStats: Fix up semantics of SamplingTimer

SamplingTimer has been losing some data, as well as not correctly handling
entries that have gone away and come back with less data (reset).

This change correctly ends a SamplingTimer sample by adding the accumulated amount
to the total, then reseting the running counter to accept new values.

This is also triggered automatically when the incoming data is less than what is currently
recorded.

Bug:25695597
Change-Id: I6b540906e6be527578d1003485384a75ba211b52

8 years agoMerge "Remove dependencies on Activity from common Fragment superclasses" into nyc-dev
Adam Powell [Fri, 22 Apr 2016 21:43:15 +0000 (21:43 +0000)]
Merge "Remove dependencies on Activity from common Fragment superclasses" into nyc-dev

8 years agoMerge "Fixed NPE during boot animation on fugu." into nyc-dev
Wale Ogunwale [Fri, 22 Apr 2016 21:30:48 +0000 (21:30 +0000)]
Merge "Fixed NPE during boot animation on fugu." into nyc-dev
am: a1e7be3

* commit 'a1e7be375e618544e22287d0ee59f517536f95e1':
  Fixed NPE during boot animation on fugu.

Change-Id: I9eeeb0eaf1f77e122549ce3fa86f19e9cbe03897

8 years agoTweaks to make overview animations to match spec.
Winson [Thu, 21 Apr 2016 00:18:08 +0000 (17:18 -0700)]
Tweaks to make overview animations to match spec.

- Fixing incompatible app message text color
- Fixing drag target hover color
- Fixing final frame jank when animating home from overview
- Adding animation prop setter for initial play time

Bug: 27154882
Change-Id: Ia8a90434da2174d3c78a353b881509a8b1d525ba

8 years agoMerge "Fixed NPE during boot animation on fugu." into nyc-dev
TreeHugger Robot [Fri, 22 Apr 2016 21:23:52 +0000 (21:23 +0000)]
Merge "Fixed NPE during boot animation on fugu." into nyc-dev

8 years agoCleanup of the PackageInstaller API - Frameworks
Svet Ganov [Fri, 26 Feb 2016 02:22:10 +0000 (18:22 -0800)]
Cleanup of the PackageInstaller API - Frameworks

The PackageInstaller app manages side-loading apps as well
as permission management. It should be updatable, hence
should rely on system APIs to talk to the platform. This
is the first step of defining an API boundary.

Change-Id: I9814eafd0b22ae03b4b847a7007cdbf14c9e5466

8 years agoFix black flicker when closing IME
Jorim Jaggi [Fri, 22 Apr 2016 21:13:49 +0000 (14:13 -0700)]
Fix black flicker when closing IME

When closing the IME in docked adjusted mode, we still need to pass
in the IME window so we can still execute the logic to delay starting
the animation, so we don't see a black hole before the animation is
started.

Bug: 28175599
Change-Id: I606d30bd63b5e909fdebd78b0aa4968bd9f26c24

8 years agoMerge "Disallow disable of the system shared libs." into nyc-dev
Svetoslav Ganov [Fri, 22 Apr 2016 21:07:09 +0000 (21:07 +0000)]
Merge "Disallow disable of the system shared libs." into nyc-dev
am: 5a91b61

* commit '5a91b615232374084a45752d7c09c25265e263ed':
  Disallow disable of the system shared libs.

Change-Id: I7edae9e8cbeefd4f20ffb2b708f68f6f04e79326

8 years agoMerge "Disallow disable of the system shared libs." into nyc-dev
Svetoslav Ganov [Fri, 22 Apr 2016 21:03:28 +0000 (21:03 +0000)]
Merge "Disallow disable of the system shared libs." into nyc-dev

8 years agoMerge "Unbundle RemoteService on TV - part 3" into nyc-dev
Sujith Ramakrishnan [Fri, 22 Apr 2016 21:02:01 +0000 (21:02 +0000)]
Merge "Unbundle RemoteService on TV - part 3" into nyc-dev
am: 7981e8f

* commit '7981e8ff6509769a590f15b440f989437d732be5':
  Unbundle RemoteService on TV - part 3

Change-Id: I6f7dcde634bf841243c34a59d569e84e271b2326

8 years agoMerge "Remove debug flag for some important logs." into nyc-dev
Sudheer Shanka [Fri, 22 Apr 2016 21:02:00 +0000 (21:02 +0000)]
Merge "Remove debug flag for some important logs." into nyc-dev
am: b7ba766

* commit 'b7ba766352ca78784831e7332dd59aa2f0e2a314':
  Remove debug flag for some important logs.

Change-Id: Icac7aa3a9cad9dd0e3c107fbfbb54f94168b59c1

8 years agoMerge "Unbundle RemoteService on TV - part 3" into nyc-dev
Sujith Ramakrishnan [Fri, 22 Apr 2016 20:59:06 +0000 (20:59 +0000)]
Merge "Unbundle RemoteService on TV - part 3" into nyc-dev

8 years agoMerge "Remove debug flag for some important logs." into nyc-dev
Sudheer Shanka [Fri, 22 Apr 2016 20:56:44 +0000 (20:56 +0000)]
Merge "Remove debug flag for some important logs." into nyc-dev

8 years agoMerge "Fix IME for status bar in docked mode" into nyc-dev
Adrian Roos [Fri, 22 Apr 2016 20:30:00 +0000 (20:30 +0000)]
Merge "Fix IME for status bar in docked mode" into nyc-dev
am: 93536af

* commit '93536af56d70c516760a796a1731237acce14f54':
  Fix IME for status bar in docked mode

Change-Id: I9af5c7dcece0b6b018c8d6f64b103332bbbc5a16

8 years agoMerge "Fix IME for status bar in docked mode" into nyc-dev
TreeHugger Robot [Fri, 22 Apr 2016 20:22:21 +0000 (20:22 +0000)]
Merge "Fix IME for status bar in docked mode" into nyc-dev

8 years agoMerge "Fixed BaseObj finalizer and destroy()" into nyc-dev
Yang Ni [Fri, 22 Apr 2016 19:52:18 +0000 (19:52 +0000)]
Merge "Fixed BaseObj finalizer and destroy()" into nyc-dev
am: 8ca7638

* commit '8ca763803d8960ddc9f6c498c3294e69aac0f7cf':
  Fixed BaseObj finalizer and destroy()

Change-Id: I62a717ec2063ef5dc030830570820232aec1035e

8 years agoMerge "Reconfigure display info. after configuration changes." into nyc-dev
Wale Ogunwale [Fri, 22 Apr 2016 19:52:16 +0000 (19:52 +0000)]
Merge "Reconfigure display info. after configuration changes." into nyc-dev
am: 10f4f44

* commit '10f4f44efe0eeb47ea63471c221d7a765f55e3ae':
  Reconfigure display info. after configuration changes.

Change-Id: I09ead4808ee6055d42594cad00b5519e97d581cd

8 years agoMerge "Fixed BaseObj finalizer and destroy()" into nyc-dev
Yang Ni [Fri, 22 Apr 2016 19:48:32 +0000 (19:48 +0000)]
Merge "Fixed BaseObj finalizer and destroy()" into nyc-dev

8 years agoFixed NPE during boot animation on fugu.
Wale Ogunwale [Fri, 22 Apr 2016 19:11:51 +0000 (12:11 -0700)]
Fixed NPE during boot animation on fugu.

- Don't set a dim layer in the docked controller if we are not dimming.
- Check to make sure the docked divider window isn't null before trying
to use its layer for dimming.

Bug: 28339915
Change-Id: I33d49d26ffcaec63d135f82a6208e127ba0f0570

8 years agoMerge "Reconfigure display info. after configuration changes." into nyc-dev
TreeHugger Robot [Fri, 22 Apr 2016 19:42:51 +0000 (19:42 +0000)]
Merge "Reconfigure display info. after configuration changes." into nyc-dev

8 years agoUnbundle RemoteService on TV - part 3
Sujith Ramakrishnan [Fri, 29 Jan 2016 00:53:16 +0000 (16:53 -0800)]
Unbundle RemoteService on TV - part 3

- New service TVRemoteService triggered by SystemServer
- Provider service proxy and watcher for maintaining connections to unbundled
  services which have the BIND_TV_REMOTE_SERVICE permission.
- Shared library to facilitate connections between unbundled service and
  TVRemoteService.
- Unbundled service needs TV_VIRTUAL_REMOTE_CONTROLLER
  permission to be fully functional.

b/23792608

Change-Id: Ief5c6995883d1f7268a73bdd0c920c4c3f42cddb

8 years agoMerge "Force pinned windows to always be scaleable." into nyc-dev
Robert Carr [Fri, 22 Apr 2016 19:18:45 +0000 (19:18 +0000)]
Merge "Force pinned windows to always be scaleable." into nyc-dev
am: e67960e

* commit 'e67960ecae2ba008a7d1d364b5fdb1b95a179e52':
  Force pinned windows to always be scaleable.

Change-Id: If99e495251dee1ff6f52f214448154a396f5e9d3

8 years agoMerge "Add comments to apptype and authtype constants." into nyc-dev
Junda Liu [Fri, 22 Apr 2016 19:18:44 +0000 (19:18 +0000)]
Merge "Add comments to apptype and authtype constants." into nyc-dev
am: cc69bed

* commit 'cc69bed61fadd99627751b6e04e99f2c42ef3025':
  Add comments to apptype and authtype constants.

Change-Id: I0e30f5907051dd0f9c4d3256588a4726620e3f17

8 years agoMerge "Fix black frame in finishing transition" into nyc-dev
Chong Zhang [Fri, 22 Apr 2016 19:18:43 +0000 (19:18 +0000)]
Merge "Fix black frame in finishing transition" into nyc-dev
am: cffe389

* commit 'cffe389a22cf3f3d63ec37a591b0d6226e1db99e':
  Fix black frame in finishing transition

Change-Id: I182036d46c9551bc7def42af9190ef5dd25d7b59

8 years agoMerge "Add ambient light ring buffer for initial data gathering period." into nyc-dev
Michael Wright [Fri, 22 Apr 2016 19:18:40 +0000 (19:18 +0000)]
Merge "Add ambient light ring buffer for initial data gathering period." into nyc-dev
am: ea999ac

* commit 'ea999ac8e4d1e89eb79c11a76f30a4b25260b243':
  Add ambient light ring buffer for initial data gathering period.

Change-Id: Iad611209a10caf082361ff7a9de0c8b7ec04a7bb

8 years agoRemove debug flag for some important logs.
Sudheer Shanka [Fri, 22 Apr 2016 19:13:30 +0000 (12:13 -0700)]
Remove debug flag for some important logs.

Bug: 27689631
Change-Id: I23c1396f3b29093e6d23ec06f90a382b6ce458d3

8 years agoMerge "Force pinned windows to always be scaleable." into nyc-dev
TreeHugger Robot [Fri, 22 Apr 2016 19:13:22 +0000 (19:13 +0000)]
Merge "Force pinned windows to always be scaleable." into nyc-dev

8 years agoRemove dependencies on Activity from common Fragment superclasses
Adam Powell [Fri, 22 Apr 2016 18:27:31 +0000 (11:27 -0700)]
Remove dependencies on Activity from common Fragment superclasses

Allow common Fragments to be used in non-Activity hosts.

Bug 28337394

Change-Id: Id3baa3ef19ea41ff43ca76be89ced7530fbadfab

8 years agoMerge "Add comments to apptype and authtype constants." into nyc-dev
Junda Liu [Fri, 22 Apr 2016 19:05:33 +0000 (19:05 +0000)]
Merge "Add comments to apptype and authtype constants." into nyc-dev

8 years agoMerge "Fix black frame in finishing transition" into nyc-dev
Chong Zhang [Fri, 22 Apr 2016 19:01:56 +0000 (19:01 +0000)]
Merge "Fix black frame in finishing transition" into nyc-dev

8 years agoMerge "Changes Message from using parcels to bundles" into nyc-dev
Alex Hills [Fri, 22 Apr 2016 19:01:14 +0000 (19:01 +0000)]
Merge "Changes Message from using parcels to bundles" into nyc-dev
am: 9ef0ce1

* commit '9ef0ce1749e626a47d669a3f4b059ba748d2e69e':
  Changes Message from using parcels to bundles

Change-Id: I1c5146b037cab8c5afb3d6b97a9533c3fea8cf0d

8 years agoMerge "Add ambient light ring buffer for initial data gathering period." into nyc-dev
TreeHugger Robot [Fri, 22 Apr 2016 19:00:23 +0000 (19:00 +0000)]
Merge "Add ambient light ring buffer for initial data gathering period." into nyc-dev

8 years agoFix IME for status bar in docked mode
Adrian Roos [Fri, 22 Apr 2016 03:59:47 +0000 (20:59 -0700)]
Fix IME for status bar in docked mode

If the dock divider is visible, window manager raises the IME from the
app's layer on top of the divider. However if the IME was targeting the
status bar, it would also remove it from the status bar's layer and
move it atop the divider (but below the status bar).

To fix this, we now only perform the adjustment to the IME's layer if
that moves the IME up, but never down.

Change-Id: I1308f51b98fffee64a5075c49697f5bc177ea32e
Fixes: 28024606

8 years agoFix black frame in finishing transition
Chong Zhang [Fri, 22 Apr 2016 18:31:51 +0000 (11:31 -0700)]
Fix black frame in finishing transition

If either visible or nowVisible is true we need to wait for next
activity to become visible before we destroy the previous activity.

In some code path (eg. clear task top), when starting a new activity,
old activity is first paused and visible set to false with a dummy
transition set. Then finish activity is requested. At this point visible
is already false, but nowVisible is true. We still need to wait for
next app become visible to avoid a black frame shown in between.

bug: 27796252

Change-Id: Ief3d5fc8f11c51a729c424f996ab2597c815e4dd

8 years agoMerge changes I222e50f6,I9832874d into nyc-dev
Winson [Fri, 22 Apr 2016 18:37:03 +0000 (18:37 +0000)]
Merge changes I222e50f6,I9832874d into nyc-dev
am: 6c83c7a

* commit '6c83c7aa5f84680ffd53d3e318279cbead8b1af5':
  Removing legacy calculation of Recents visibility.
  Adding additional dump logging to track down bugs.

Change-Id: I9156a48726b0ce4e9a49892fc525a105ab2631da

8 years agoMerge "Add strings for quick settings accessibility" into nyc-dev
Jason Monk [Fri, 22 Apr 2016 18:37:02 +0000 (18:37 +0000)]
Merge "Add strings for quick settings accessibility" into nyc-dev
am: ab629fc

* commit 'ab629fcc8506ecde2f2a05231c82600281ffa9c2':
  Add strings for quick settings accessibility

Change-Id: Iea44e1b96076bc0be1c29b48df3897c4eeec9158

8 years agoMerge "Adds a BigPicAmbient flag to WearableExtender" into nyc-dev
Alex Hills [Fri, 22 Apr 2016 18:37:00 +0000 (18:37 +0000)]
Merge "Adds a BigPicAmbient flag to WearableExtender" into nyc-dev
am: cb1f9da

* commit 'cb1f9da55b2960f7cabd9c50632f2ac9d8a3311a':
  Adds a BigPicAmbient flag to WearableExtender

Change-Id: I6dc645e19e715199a32f983509ea1fc0f335a3f5

8 years agoMerge "Changes Message from using parcels to bundles" into nyc-dev
Alexander Hills [Fri, 22 Apr 2016 18:32:48 +0000 (18:32 +0000)]
Merge "Changes Message from using parcels to bundles" into nyc-dev

8 years agoClosing system windows when dismissing recents to app or home.
Winson [Thu, 21 Apr 2016 22:20:21 +0000 (15:20 -0700)]
Closing system windows when dismissing recents to app or home.

Bug: 28314924
Change-Id: I35f484c7c594bb39d7983965e0f706175cf92253

8 years agoCaching the display rect to reduce binder calls.
Winson [Thu, 21 Apr 2016 18:20:11 +0000 (11:20 -0700)]
Caching the display rect to reduce binder calls.

- Only update the display rect and orientation on configuration change.

Bug: 28122871
Change-Id: I2e87e7643902d5f45ac4a311109f5e1870f48d3b

8 years agoMerge changes I222e50f6,I9832874d into nyc-dev
Winson Chung [Fri, 22 Apr 2016 18:22:00 +0000 (18:22 +0000)]
Merge changes I222e50f6,I9832874d into nyc-dev

* changes:
  Removing legacy calculation of Recents visibility.
  Adding additional dump logging to track down bugs.

8 years agoReconfigure display info. after configuration changes.
Wale Ogunwale [Fri, 22 Apr 2016 16:15:09 +0000 (09:15 -0700)]
Reconfigure display info. after configuration changes.

Some of the information reported for a display is dependent on resources to do
the right calculations. For example, {@link DisplayInfo#smallestNominalAppWidth}
and company are dependent on the height and width of the status and nav bar
which change depending on the current configuration.

Bug: 28182307
Change-Id: I2ba5de4bcfb3fa3ad334e69eb192bd15f8f7ebb2

8 years agoMerge "Add strings for quick settings accessibility" into nyc-dev
Jason Monk [Fri, 22 Apr 2016 18:13:18 +0000 (18:13 +0000)]
Merge "Add strings for quick settings accessibility" into nyc-dev

8 years agoMerge "Adds a BigPicAmbient flag to WearableExtender" into nyc-dev
Alexander Hills [Fri, 22 Apr 2016 18:11:44 +0000 (18:11 +0000)]
Merge "Adds a BigPicAmbient flag to WearableExtender" into nyc-dev

8 years agoAdd strings for quick settings accessibility
Jason Monk [Fri, 22 Apr 2016 18:08:27 +0000 (14:08 -0400)]
Add strings for quick settings accessibility

Bug: 15696340
Change-Id: Ie775c90c9fed8078f4db4bde5752a2f2d7f94f25

8 years agoMerge "TIF: Address API review comments" into nyc-dev
Dongwon Kang [Fri, 22 Apr 2016 18:00:34 +0000 (18:00 +0000)]
Merge "TIF: Address API review comments" into nyc-dev
am: b0df08598c

* commit 'b0df08598c9005938a8315a76c148967e6e06fc4':
  TIF: Address API review comments

Change-Id: Iae2978318d4611fccabd916bd047cd60b3d9ca6e

8 years agoMerge "TIF: Address API review comments" into nyc-dev
Dongwon Kang [Fri, 22 Apr 2016 17:54:31 +0000 (17:54 +0000)]
Merge "TIF: Address API review comments" into nyc-dev

8 years agoMerge "Send update notifications when the status of a print job updates and make...
Philip P. Moltmann [Fri, 22 Apr 2016 17:48:38 +0000 (17:48 +0000)]
Merge "Send update notifications when the status of a print job updates and make sure to only access mPrintServicesChangeListenerRecords when locked." into nyc-dev
am: bfce110c63

* commit 'bfce110c63541f514c865fc221047b8101932d58':
  Send update notifications when the status of a print job updates and make sure to only access mPrintServicesChangeListenerRecords when locked.

Change-Id: I311a1f358336620d7e9d3a0b7d27faa17a7ee70a

8 years agoMerge "DO NOT MERGE: Disable drag n\' drop in DocumentsActivity." into nyc-dev
Garfield, Tan [Fri, 22 Apr 2016 17:47:33 +0000 (17:47 +0000)]
Merge "DO NOT MERGE: Disable drag n\' drop in DocumentsActivity." into nyc-dev
am: 6e685dc3c5

* commit '6e685dc3c519526a0f38ec5ee9e81e1f57e0fa36':
  DO NOT MERGE: Disable drag n' drop in DocumentsActivity.

Change-Id: I9e4424bfbffc46cd1880241b6961c0f0ca75aab4

8 years agoMerge "Send update notifications when the status of a print job updates and make...
Philip P. Moltmann [Fri, 22 Apr 2016 17:32:36 +0000 (17:32 +0000)]
Merge "Send update notifications when the status of a print job updates and make sure to only access mPrintServicesChangeListenerRecords when locked." into nyc-dev

8 years agoFixed BaseObj finalizer and destroy()
Yang Ni [Thu, 21 Apr 2016 04:26:24 +0000 (21:26 -0700)]
Fixed BaseObj finalizer and destroy()

Bug: 28242626
Bug: 27972184
Bug: 27973681

This is resolving issues in ScriptGroup (V1) again.
In ScriptGroup.destroy(), we also need to consider the old API where
mClosures is not initialized.

Also cleaned up the finalizer for ScriptGroup and Allocation:
Since BaseObj.finalize() calls BaseObj.helpDestroy(), instead of
BaseObj.destroy(), there is no possibility that the finalizers of
child objects may race their parents finalizers. Note that
helpDestroy() does not try to recurse on child objects.

Change-Id: I9dbb2b60f8478f656f8a418c2b5fc8d6848aeef0

8 years agoAdd ambient light ring buffer for initial data gathering period.
Michael Wright [Fri, 22 Apr 2016 05:03:09 +0000 (01:03 -0400)]
Add ambient light ring buffer for initial data gathering period.

We're seeing reports of the display being too dim at initial wake up.
Saving the buffer for this initial period lets determine whether this
is a calculation error or something wrong with the sensor readings.

Bug: 27951906
Change-Id: I96b5dd0772de056c3c5e54d59c13d1a3d902d343

8 years agoMerge "DO NOT MERGE: Disable drag n' drop in DocumentsActivity." into nyc-dev
Garfield Tan [Fri, 22 Apr 2016 17:17:14 +0000 (17:17 +0000)]
Merge "DO NOT MERGE: Disable drag n' drop in DocumentsActivity." into nyc-dev

8 years agoMerge "Keyboard shortcuts: dismiss when activities start via shortcut" into nyc-dev
Andrei Stingaceanu [Fri, 22 Apr 2016 17:01:44 +0000 (17:01 +0000)]
Merge "Keyboard shortcuts: dismiss when activities start via shortcut" into nyc-dev
am: 1a83df8ba7

* commit '1a83df8ba716d027ac26c9198ed3d3b8d2b98ad1':
  Keyboard shortcuts: dismiss when activities start via shortcut

Change-Id: I3f856153c770d4d857276c15bb94deba755c719a

8 years agoMerge "Keyboard shortcuts: dismiss when activities start via shortcut" into nyc-dev
Andrei Stingaceanu [Fri, 22 Apr 2016 16:46:29 +0000 (16:46 +0000)]
Merge "Keyboard shortcuts: dismiss when activities start via shortcut" into nyc-dev

8 years agoMerge "FrameMetricsListener API council changes" into nyc-dev
Andres Morales [Fri, 22 Apr 2016 16:34:14 +0000 (16:34 +0000)]
Merge "FrameMetricsListener API council changes" into nyc-dev
am: 82ee675330

* commit '82ee6753305b484d778743882fb827c6b73d82c1':
  FrameMetricsListener API council changes

Change-Id: Ia22fea9fd5d15e481ad41d2ea7a7839bedf2a460

8 years agoMerge "FrameMetricsListener API council changes" into nyc-dev
Andres Morales [Fri, 22 Apr 2016 16:31:18 +0000 (16:31 +0000)]
Merge "FrameMetricsListener API council changes" into nyc-dev

8 years agoMerge "Show recents when task moves to docked stack" into nyc-dev
Andrii Kulian [Fri, 22 Apr 2016 16:19:59 +0000 (16:19 +0000)]
Merge "Show recents when task moves to docked stack" into nyc-dev
am: 82e5288ee6

* commit '82e5288ee63c92d3a610fd5c50bad510917fbf63':
  Show recents when task moves to docked stack

Change-Id: I9979ee936a279875482bdf79aaa315a5c59f3a01

8 years agoMerge "Show recents when task moves to docked stack" into nyc-dev
Andrii Kulian [Fri, 22 Apr 2016 16:15:07 +0000 (16:15 +0000)]
Merge "Show recents when task moves to docked stack" into nyc-dev