OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Use correct synchronization lock" into nyc-dev
Amith Yamasani [Tue, 24 May 2016 18:29:45 +0000 (18:29 +0000)]
Merge "Use correct synchronization lock" into nyc-dev
am: 638cc6cac9

* commit '638cc6cac9e35ec5a1410ba2fd63550b53e699ab':
  Use correct synchronization lock

Change-Id: Ibc7475f21c585ae457412214986cc14ac9ecbe8b

8 years agoMerge "Fixed enforceMeteredApnPolicy when Data Saver is on." into nyc-dev
Felipe Leme [Tue, 24 May 2016 18:13:14 +0000 (18:13 +0000)]
Merge "Fixed enforceMeteredApnPolicy when Data Saver is on." into nyc-dev
am: efd3a1749f

* commit 'efd3a1749f2737199643cc29bea6132a9786223b':
  Fixed enforceMeteredApnPolicy when Data Saver is on.

Change-Id: I5cd9701e6620abcc950f6a182b6e2b5f95127371

8 years agoMerge "Use correct synchronization lock" into nyc-dev
Amith Yamasani [Tue, 24 May 2016 18:10:56 +0000 (18:10 +0000)]
Merge "Use correct synchronization lock" into nyc-dev

8 years agoMerge "Register change Uri and notify changes in bugreportServices." into nyc-dev
Ben Lin [Tue, 24 May 2016 18:01:16 +0000 (18:01 +0000)]
Merge "Register change Uri and notify changes in bugreportServices." into nyc-dev
am: 5d5ddfa80e

* commit '5d5ddfa80ecb482e34ed4bfebae2c7308269a1c4':
  Register change Uri and notify changes in bugreportServices.

Change-Id: Ic118dd61f0471f61af3fe5fbace8a0dbae258484

8 years agoMerge "Fixed enforceMeteredApnPolicy when Data Saver is on." into nyc-dev
TreeHugger Robot [Tue, 24 May 2016 17:51:35 +0000 (17:51 +0000)]
Merge "Fixed enforceMeteredApnPolicy when Data Saver is on." into nyc-dev

8 years agoMerge "Register change Uri and notify changes in bugreportServices." into nyc-dev
Ben Lin [Tue, 24 May 2016 17:48:22 +0000 (17:48 +0000)]
Merge "Register change Uri and notify changes in bugreportServices." into nyc-dev

8 years agoMerge "Fix AudioTrack and AudioRecord documentation" into nyc-dev
Eric Laurent [Tue, 24 May 2016 17:43:34 +0000 (17:43 +0000)]
Merge "Fix AudioTrack and AudioRecord documentation" into nyc-dev
am: b143e3de34

* commit 'b143e3de34ab98463a641fd6d67165fce878f1ff':
  Fix AudioTrack and AudioRecord documentation

Change-Id: I861c0047b33730465c3ceeae1c4072f17b29d804

8 years agoMerge "Fix wallpaper crop during unlock animation" into nyc-dev
Chong Zhang [Tue, 24 May 2016 17:21:30 +0000 (17:21 +0000)]
Merge "Fix wallpaper crop during unlock animation" into nyc-dev
am: d4a45e0c40

* commit 'd4a45e0c40b46e3d57617a91dbb0a9dc4412208c':
  Fix wallpaper crop during unlock animation

Change-Id: I862e208435365cd8c0639beab8e4eaee5fee8b45

8 years agoMerge "Fix AudioTrack and AudioRecord documentation" into nyc-dev
Eric Laurent [Tue, 24 May 2016 17:15:10 +0000 (17:15 +0000)]
Merge "Fix AudioTrack and AudioRecord documentation" into nyc-dev

8 years agoMerge "Fix wallpaper crop during unlock animation" into nyc-dev
Chong Zhang [Tue, 24 May 2016 17:09:08 +0000 (17:09 +0000)]
Merge "Fix wallpaper crop during unlock animation" into nyc-dev

8 years agoMerge "Work on issue #27995384: Time in the top bar different..." into nyc-dev
Dianne Hackborn [Tue, 24 May 2016 17:09:00 +0000 (17:09 +0000)]
Merge "Work on issue #27995384: Time in the top bar different..." into nyc-dev
am: cdcc53d007

* commit 'cdcc53d007d613ccfcf3a36ce22fa6823c5fe954':
  Work on issue #27995384: Time in the top bar different...

Change-Id: If1f18d7c56bbe56353319b2f394f90121f050fc7

8 years agoMerge "Work on issue #27995384: Time in the top bar different..." into nyc-dev
Dianne Hackborn [Tue, 24 May 2016 16:56:00 +0000 (16:56 +0000)]
Merge "Work on issue #27995384: Time in the top bar different..." into nyc-dev

8 years agomedia: add missing levels in CodecProfileLevel and fix limits
Lajos Molnar [Tue, 24 May 2016 16:07:21 +0000 (16:07 +0000)]
media: add missing levels in CodecProfileLevel and fix limits
am: 2a4001ee62

* commit '2a4001ee62f3374d7fffed72d71f77c5a833c331':
  media: add missing levels in CodecProfileLevel and fix limits

Change-Id: Iea860639751956dce3efd833e9bac36daefe3110

8 years agomedia: add missing levels in CodecProfileLevel and fix limits
Lajos Molnar [Tue, 24 May 2016 14:27:21 +0000 (07:27 -0700)]
media: add missing levels in CodecProfileLevel and fix limits

Bug: 28671284
Change-Id: Ie4a91f5639ce8f1c5ac825ec829ac82e695d18b5

8 years agoSet autobundled summary color.
Julia Reynolds [Tue, 24 May 2016 13:58:18 +0000 (13:58 +0000)]
Set autobundled summary color.
am: 3011fd4dbd

* commit '3011fd4dbd4585917af71e109353e6e02332ef5b':
  Set autobundled summary color.

Change-Id: Ic903b346211ae89d0cd531eae98e1d90138c385c

8 years agoSet autobundled summary color.
Julia Reynolds [Fri, 20 May 2016 14:25:43 +0000 (10:25 -0400)]
Set autobundled summary color.

Change-Id: I8ceb0b045359dc364fcec411fcfc610f7f57d8db
Fixes: 28615262

8 years agoMerge "QS: Don\'t cause click noise when opening from QQS" into nyc-dev
Jason Monk [Tue, 24 May 2016 13:43:42 +0000 (13:43 +0000)]
Merge "QS: Don\'t cause click noise when opening from QQS" into nyc-dev
am: 8a1561a772

* commit '8a1561a772e735b41b48dfb91269b620b5125602':
  QS: Don't cause click noise when opening from QQS

Change-Id: I6cd5281ab021be51ad92c86edc9e39b62188c713

8 years agoMerge "QS: Don't cause click noise when opening from QQS" into nyc-dev
Jason Monk [Tue, 24 May 2016 13:35:02 +0000 (13:35 +0000)]
Merge "QS: Don't cause click noise when opening from QQS" into nyc-dev

8 years agoMerge "Set accessibility string for suspended widgets." into nyc-dev
Kenny Guy [Tue, 24 May 2016 13:20:25 +0000 (13:20 +0000)]
Merge "Set accessibility string for suspended widgets." into nyc-dev
am: 7b4b2fbc0a

* commit '7b4b2fbc0afd9cff3d4bb647b0ed7dc79ab747dc':
  Set accessibility string for suspended widgets.

Change-Id: Iedafb99a35224a37e816c510284ebfc01fe3c87d

8 years agoMerge "Set accessibility string for suspended widgets." into nyc-dev
Kenny Guy [Tue, 24 May 2016 13:11:11 +0000 (13:11 +0000)]
Merge "Set accessibility string for suspended widgets." into nyc-dev

8 years agoMerge "Disallow OEM unlock when DISALLOW_FACTORY_RESET applies" into nyc-mr1-dev
Mahaver Chopra [Tue, 24 May 2016 12:22:49 +0000 (12:22 +0000)]
Merge "Disallow OEM unlock when DISALLOW_FACTORY_RESET applies" into nyc-mr1-dev

8 years agoDisallow OEM unlock when DISALLOW_FACTORY_RESET applies
Mahaver Chopra [Tue, 17 May 2016 17:53:09 +0000 (18:53 +0100)]
Disallow OEM unlock when DISALLOW_FACTORY_RESET applies

Bug: 28339424
Change-Id: I4b6dc6f186ea60a13e778f52d574e615b0b19b74

8 years agoMerge "Load WebView even if WebView relro creation times out." into nyc-dev
Gustav Sennton [Tue, 24 May 2016 10:46:16 +0000 (10:46 +0000)]
Merge "Load WebView even if WebView relro creation times out." into nyc-dev
am: a2fbfbce9e

* commit 'a2fbfbce9ef09ed7a98222e67709aa086e548c79':
  Load WebView even if WebView relro creation times out.

Change-Id: Icf6e99e3f3dfc9b1f4244f5da63e32b3d741459c

8 years agoMerge "Load WebView even if WebView relro creation times out." into nyc-dev
Gustav Sennton [Tue, 24 May 2016 10:39:31 +0000 (10:39 +0000)]
Merge "Load WebView even if WebView relro creation times out." into nyc-dev

8 years agoMerge "Support IPv6 multicast filtering in APF." into nyc-dev
Lorenzo Colitti [Tue, 24 May 2016 03:19:29 +0000 (03:19 +0000)]
Merge "Support IPv6 multicast filtering in APF." into nyc-dev
am: d954c6368f

* commit 'd954c6368fc6e591385e608fa6ebb42dc7606074':
  Support IPv6 multicast filtering in APF.

Change-Id: I6123c2390aa9641652fd200adcc16f9724799aab

8 years agoMerge "Support IPv6 multicast filtering in APF." into nyc-dev
Lorenzo Colitti [Tue, 24 May 2016 03:14:37 +0000 (03:14 +0000)]
Merge "Support IPv6 multicast filtering in APF." into nyc-dev

8 years agoReduced the impact of "synchronized" statements
Pavlin Radoslavov [Tue, 24 May 2016 02:34:23 +0000 (02:34 +0000)]
Reduced the impact of "synchronized" statements
am: eb50a39e98

* commit 'eb50a39e98acb78d16465041bb5c172aa1637e97':
  Reduced the impact of "synchronized" statements

Change-Id: I272dba69e9011720356a3c5b9ca849de281f5027

8 years agoMerge "Adding RetailModeService to handle retail mode" into nyc-mr1-dev
TreeHugger Robot [Tue, 24 May 2016 02:24:49 +0000 (02:24 +0000)]
Merge "Adding RetailModeService to handle retail mode" into nyc-mr1-dev

8 years agoReduced the impact of "synchronized" statements
Pavlin Radoslavov [Mon, 23 May 2016 05:16:41 +0000 (22:16 -0700)]
Reduced the impact of "synchronized" statements

* Removed "synchronized" statements that are not needed
* Replaced "synchronized" statements with Read/Write lock as
 appropriate. The lock protects the access to and the setting of
 BluetoothAdapter.mService and BluetoothManagerService.mBluetooth and
 associated state.

Bug: 28734075
Bug: 28799467
Change-Id: I8f8281c505f0a1ae0add1e14a3caba1f5b2a98e4

8 years agoAdding RetailModeService to handle retail mode
Suprabh Shukla [Fri, 20 May 2016 21:41:22 +0000 (14:41 -0700)]
Adding RetailModeService to handle retail mode

The service listens for the global setting DEVICE_DEMO_MODE and switches
device to demo mode when it is changed to 1. Also, acquires the wakelock
to
keep the screen on and puts up a notification to wipe and reset the demo
session when in demo mode.

Bug: 27280140
Change-Id: If1843016889ec2c50818c67432d60f33063e0986

8 years agoFix AudioTrack and AudioRecord documentation
Eric Laurent [Mon, 23 May 2016 19:41:50 +0000 (12:41 -0700)]
Fix AudioTrack and AudioRecord documentation

Improve documentation for error codes returned by
AudioTrack.write() and AudioRecord.read() methods.
Fix native to JAVA error code conversion in JNI.

Bug: 28906466

Change-Id: I4d48b1d428834b7a39a14e2d81b6c164696817a8

8 years agoMerge "Fix issue #28868955: CTS: PendingIntentTest failures; Regressed in NRD48x...
Dianne Hackborn [Tue, 24 May 2016 00:30:32 +0000 (00:30 +0000)]
Merge "Fix issue #28868955: CTS: PendingIntentTest failures; Regressed in NRD48x" into nyc-dev
am: 9c252700f6

* commit '9c252700f6686767f5418677800ba171f441dddc':
  Fix issue #28868955: CTS: PendingIntentTest failures; Regressed in NRD48x

Change-Id: Ib2811fb49299da93459066d9d6312d403681eed4

8 years agoMerge "PIP: Handle configuration changes" into nyc-dev
Jaewan Kim [Tue, 24 May 2016 00:22:27 +0000 (00:22 +0000)]
Merge "PIP: Handle configuration changes" into nyc-dev
am: 75822138ad

* commit '75822138ad7f676592c5655df96fe76200b6ffb3':
  PIP: Handle configuration changes

Change-Id: Ic01a93b2031693b9051312598c084e871d84fedc

8 years agoUse correct synchronization lock
Amith Yamasani [Tue, 24 May 2016 00:21:08 +0000 (17:21 -0700)]
Use correct synchronization lock

This is to fix an incorrect unregister() that was crashing
the system server. The only way it could be happening is
because of incorrect locking. So, hopefully this fixes it.

Bug: 28813750
Change-Id: Ie3c47ffa3024a0c533e12db0d2d021df8fc0367a

8 years agoMerge "Fix issue #28868955: CTS: PendingIntentTest failures; Regressed in NRD48x...
Dianne Hackborn [Tue, 24 May 2016 00:18:38 +0000 (00:18 +0000)]
Merge "Fix issue #28868955: CTS: PendingIntentTest failures; Regressed in NRD48x" into nyc-dev

8 years agoMerge "PIP: Handle configuration changes" into nyc-dev
Jaewan Kim [Tue, 24 May 2016 00:05:26 +0000 (00:05 +0000)]
Merge "PIP: Handle configuration changes" into nyc-dev

8 years agoFix wallpaper crop during unlock animation
Chong Zhang [Mon, 23 May 2016 23:43:48 +0000 (16:43 -0700)]
Fix wallpaper crop during unlock animation

Do not crop wallpaper if the wallpaper target is animating but stack
clip mode is not STACK_CLIP_AFTER_ANIM. We can't crop wallpaper with
final bounds as the crop needs to apply before the transform.

bug: 28887408
Change-Id: I62b9a5ca818c3ca8d0af26d807318f63747b8ac4

8 years agoWork on issue #27995384: Time in the top bar different...
Dianne Hackborn [Mon, 23 May 2016 22:59:18 +0000 (15:59 -0700)]
Work on issue #27995384: Time in the top bar different...

...from time in the clock app

Always reset the kernel's next wake up time when we come
out of it, even if it didn't say an alarm went off.

Also add some more debugging to try to figure out what is
going on.

Change-Id: Ibf36d65b78c841128774d81517a7eb670c396c29

8 years agoMerge "Support DHCPv4 rebinding state" into nyc-dev
Erik Kline [Mon, 23 May 2016 23:28:57 +0000 (23:28 +0000)]
Merge "Support DHCPv4 rebinding state" into nyc-dev
am: 4bf3157c45

* commit '4bf3157c4560148b9b3f2e6aec7ed0835f6af14a':
  Support DHCPv4 rebinding state

Change-Id: If31de53174e64e154152b7baa60f23a387092e87

8 years agoMerge "Support DHCPv4 rebinding state" into nyc-dev
Erik Kline [Mon, 23 May 2016 23:19:03 +0000 (23:19 +0000)]
Merge "Support DHCPv4 rebinding state" into nyc-dev

8 years agoMerge "Additional clean up in onUserRemovedLPw" into nyc-mr1-dev
Fyodor Kupolov [Mon, 23 May 2016 23:18:15 +0000 (23:18 +0000)]
Merge "Additional clean up in onUserRemovedLPw" into nyc-mr1-dev

8 years agoMerge "Deprecate unnecessairy Notification.Style constructors" into nyc-dev
Adrian Roos [Mon, 23 May 2016 23:15:29 +0000 (23:15 +0000)]
Merge "Deprecate unnecessairy Notification.Style constructors" into nyc-dev
am: d15cc7a83e

* commit 'd15cc7a83e8d6251d4cf78bb08ee26b9ae949b58':
  Deprecate unnecessairy Notification.Style constructors

Change-Id: I584f2e8ce46358ecdcb1189f3e46400d6f07d346

8 years agoMerge "Deprecate unnecessairy Notification.Style constructors" into nyc-dev
TreeHugger Robot [Mon, 23 May 2016 23:04:35 +0000 (23:04 +0000)]
Merge "Deprecate unnecessairy Notification.Style constructors" into nyc-dev

8 years agoFix issue #28868955: CTS: PendingIntentTest failures; Regressed in NRD48x
Dianne Hackborn [Mon, 23 May 2016 21:39:45 +0000 (14:39 -0700)]
Fix issue #28868955: CTS: PendingIntentTest failures; Regressed in NRD48x

Uh, yeah.

Change-Id: I452187fcdda634ebf00e5d6bcaa45433f348c17e

8 years agoAdditional clean up in onUserRemovedLPw
Fyodor Kupolov [Mon, 23 May 2016 21:22:38 +0000 (14:22 -0700)]
Additional clean up in onUserRemovedLPw

mDefaultPermissionsGranted, mFingerprints should be cleaned up.

Bug: 28913107
Change-Id: I3758985fe742d38e43538b5221fc3f436c55cb16

8 years agoDeprecate unnecessairy Notification.Style constructors
Adrian Roos [Mon, 23 May 2016 20:56:15 +0000 (13:56 -0700)]
Deprecate unnecessairy Notification.Style constructors

Change-Id: I7a15eaaac4f756d137483aec5f389951c5a7eecb
Fixes: 28775574

8 years agoMerge "Only resuming starting dontWaitForPause activity once" into nyc-dev
Wale Ogunwale [Mon, 23 May 2016 20:58:58 +0000 (20:58 +0000)]
Merge "Only resuming starting dontWaitForPause activity once" into nyc-dev
am: 42d4a337a3

* commit '42d4a337a3b1a14f4d9daf6eb8275a01ba20e680':
  Only resuming starting dontWaitForPause activity once

Change-Id: Idb9949737a0ee5cfbabd6fad532f24f7ec769ace

8 years agoMerge "Recording activity notification: return list of configuration" into nyc-dev
Jean-Michel Trivi [Mon, 23 May 2016 20:55:58 +0000 (20:55 +0000)]
Merge "Recording activity notification: return list of configuration" into nyc-dev
am: c991879f29

* commit 'c991879f29c399ad7ede2b5c2c82e2e748f5e0df':
  Recording activity notification: return list of configuration

Change-Id: I02faeadaae995371e2d723415f0b2e3a78f2c489

8 years agoMerge "Only resuming starting dontWaitForPause activity once" into nyc-dev
TreeHugger Robot [Mon, 23 May 2016 20:51:39 +0000 (20:51 +0000)]
Merge "Only resuming starting dontWaitForPause activity once" into nyc-dev

8 years agoMerge "Recording activity notification: return list of configuration" into nyc-dev
Jean-Michel Trivi [Mon, 23 May 2016 20:49:28 +0000 (20:49 +0000)]
Merge "Recording activity notification: return list of configuration" into nyc-dev

8 years agoRegister change Uri and notify changes in bugreportServices.
Ben Lin [Tue, 17 May 2016 21:13:24 +0000 (14:13 -0700)]
Register change Uri and notify changes in bugreportServices.

Bug: 28767380
Change-Id: Ia4d1f5a2e44881d300f2869c628d4990406caf40
(cherry picked from commit 6c9ff513c6d7d3de7ab8920d88111c2b1dc1bb1f)
(cherry picked from commit 93fafd67a6127a35ba9b7a0f7de3a0b54309d4c2)

8 years agoMerge "Make battery labels translatable." into nyc-dev
Jason Monk [Mon, 23 May 2016 20:03:51 +0000 (20:03 +0000)]
Merge "Make battery labels translatable." into nyc-dev
am: 14abed66d7

* commit '14abed66d7a70c3fc8e063246e3f79a0a53dfcd3':
  Make battery labels translatable.

Change-Id: I634eca6f143a5a6d103f49107e57db879b2ca633

8 years agoMerge "Add a check to adjust thumbnail scaling for full screen shots on TV" into...
Sid Soundararajan [Mon, 23 May 2016 20:01:03 +0000 (20:01 +0000)]
Merge "Add a check to adjust thumbnail scaling for full screen shots on TV" into nyc-dev
am: 0513125c92

* commit '0513125c92789912214235faad26e7a97184a53a':
  Add a check to adjust thumbnail scaling for full screen shots on TV

Change-Id: I057727feb949fc864c3396ef53f9fba331f65ba8

8 years agoMerge "Make battery labels translatable." into nyc-dev
Jason Monk [Mon, 23 May 2016 19:58:48 +0000 (19:58 +0000)]
Merge "Make battery labels translatable." into nyc-dev

8 years agoMerge "Add a check to adjust thumbnail scaling for full screen shots on TV" into...
Sid Soundararajan [Mon, 23 May 2016 19:56:42 +0000 (19:56 +0000)]
Merge "Add a check to adjust thumbnail scaling for full screen shots on TV" into nyc-dev

8 years agoMerge "Add data from /proc/pagetypeinfo to procstats." into nyc-dev
Joe Onorato [Mon, 23 May 2016 19:50:36 +0000 (19:50 +0000)]
Merge "Add data from /proc/pagetypeinfo to procstats." into nyc-dev
am: 4dbdd5d971

* commit '4dbdd5d97155364305abf7c010c165f1a6f79edb':
  Add data from /proc/pagetypeinfo to procstats.

Change-Id: I3c455fe69244927dc5aebdf5ddb7b0badf6aeee8

8 years agoMerge "Add data from /proc/pagetypeinfo to procstats." into nyc-dev
TreeHugger Robot [Mon, 23 May 2016 19:46:48 +0000 (19:46 +0000)]
Merge "Add data from /proc/pagetypeinfo to procstats." into nyc-dev

8 years agoMerge "Fixed a flashing when the affordances were launched" into nyc-dev
Selim Cinek [Mon, 23 May 2016 19:34:12 +0000 (19:34 +0000)]
Merge "Fixed a flashing when the affordances were launched" into nyc-dev
am: a56e732c01

* commit 'a56e732c01f10ebd27185a66ee4330f50c8cd57b':
  Fixed a flashing when the affordances were launched

Change-Id: I142fde45dd14de96f58289a8aed1113d3bf8578a

8 years agoMerge "Fixed a bug where the scrim could flash black when snoozing huns" into nyc-dev
Selim Cinek [Mon, 23 May 2016 19:34:08 +0000 (19:34 +0000)]
Merge "Fixed a bug where the scrim could flash black when snoozing huns" into nyc-dev
am: 7fc88ac214

* commit '7fc88ac2144a05f04a941d969f86f959a89916d8':
  Fixed a bug where the scrim could flash black when snoozing huns

Change-Id: I630704c54dbe15652172d7d723e211568e021082

8 years agoMerge "Fixed a flashing when the affordances were launched" into nyc-dev
Selim Cinek [Mon, 23 May 2016 19:26:22 +0000 (19:26 +0000)]
Merge "Fixed a flashing when the affordances were launched" into nyc-dev

8 years agoMerge "Fixed a bug where the scrim could flash black when snoozing huns" into nyc-dev
Selim Cinek [Mon, 23 May 2016 19:25:55 +0000 (19:25 +0000)]
Merge "Fixed a bug where the scrim could flash black when snoozing huns" into nyc-dev

8 years agoMerge "Fixed a crash with the autocancelling" into nyc-dev
Selim Cinek [Mon, 23 May 2016 19:25:51 +0000 (19:25 +0000)]
Merge "Fixed a crash with the autocancelling" into nyc-dev
am: 4a4b76f6e8

* commit '4a4b76f6e842a4578dffedb2800d2b8eca813769':
  Fixed a crash with the autocancelling

Change-Id: I09e52b5ac392edaae7f42c7cb1903f60421b03bc

8 years agoMerge "Fixed a crash with the autocancelling" into nyc-dev
TreeHugger Robot [Mon, 23 May 2016 19:21:56 +0000 (19:21 +0000)]
Merge "Fixed a crash with the autocancelling" into nyc-dev

8 years agoMerge "Don\'t include removed window when counting interesting windows" into nyc-dev
Chong Zhang [Mon, 23 May 2016 19:08:00 +0000 (19:08 +0000)]
Merge "Don\'t include removed window when counting interesting windows" into nyc-dev
am: 18ef543102

* commit '18ef5431026365dd3b53a505fc57f538cf8dd48e':
  Don't include removed window when counting interesting windows

Change-Id: I3c2202e3928720161dbce8d1b4cfa0f16f83179f

8 years agoMerge "Don\'t throw RemoteException from new NLS APIs" into nyc-dev
Chris Wren [Mon, 23 May 2016 19:01:21 +0000 (19:01 +0000)]
Merge "Don\'t throw RemoteException from new NLS APIs" into nyc-dev
am: 28d9ef8112

* commit '28d9ef811291921ddb22e7b4b92e1222e673154e':
  Don't throw RemoteException from new NLS APIs

Change-Id: Ibafc3d9adeb046b2b43593285b6f605693b8682e

8 years agoMerge "Don't include removed window when counting interesting windows" into nyc-dev
Chong Zhang [Mon, 23 May 2016 18:59:03 +0000 (18:59 +0000)]
Merge "Don't include removed window when counting interesting windows" into nyc-dev

8 years agoMerge "Don't throw RemoteException from new NLS APIs" into nyc-dev
TreeHugger Robot [Mon, 23 May 2016 18:54:17 +0000 (18:54 +0000)]
Merge "Don't throw RemoteException from new NLS APIs" into nyc-dev

8 years agoMerge "Fix Certificate authority installed notification is gone when turning off...
Victor Chang [Mon, 23 May 2016 18:49:16 +0000 (18:49 +0000)]
Merge "Fix Certificate authority installed notification is gone when turning off and on the work mode." into nyc-dev
am: 7c527bf76d

* commit '7c527bf76dcdcda414f10ed829999310f46161e7':
  Fix Certificate authority installed notification is gone when turning off and on the work mode.

Change-Id: If3e915aa66d29f70c217b3231937730c63f7e9eb

8 years agoDon't include removed window when counting interesting windows
Chong Zhang [Sat, 21 May 2016 16:23:55 +0000 (09:23 -0700)]
Don't include removed window when counting interesting windows

Also do not give input focus to window that's already marked for removal.
The input channel is already disposed and input manager will treat these
as null focus.

bug: 28797800

Change-Id: I3cb2d514a7286847f1ad6af3f629d04c303d3cbd

8 years agoMake battery labels translatable.
Jason Monk [Mon, 23 May 2016 18:42:23 +0000 (14:42 -0400)]
Make battery labels translatable.

Bug: 28829629
Change-Id: Id32587a4ad22aa79f7ec01f748466d6ff2394bcc

8 years agoMerge "Fix Certificate authority installed notification is gone when turning off...
Victor Chang [Mon, 23 May 2016 18:42:08 +0000 (18:42 +0000)]
Merge "Fix Certificate authority installed notification is gone when turning off and on the work mode." into nyc-dev

8 years agoQS: Don't cause click noise when opening from QQS
Jason Monk [Mon, 23 May 2016 18:40:27 +0000 (14:40 -0400)]
QS: Don't cause click noise when opening from QQS

Bug: 28770315
Change-Id: I972ae81b07db38699c4d88dbf1c556ea17258782

8 years agoMerge "Correct height of add printer list separator" into nyc-dev
Philip P. Moltmann [Mon, 23 May 2016 18:38:36 +0000 (18:38 +0000)]
Merge "Correct height of add printer list separator" into nyc-dev
am: 80c18bcc3a

* commit '80c18bcc3a52dee62eec4b95de1ebfbf3c7d397f':
  Correct height of add printer list separator

Change-Id: I3cfdf14bc4e72b727f6469f99f950794e667ce33

8 years agoSet accessibility string for suspended widgets.
Kenny Guy [Mon, 23 May 2016 18:26:13 +0000 (19:26 +0100)]
Set accessibility string for suspended widgets.

Update the content description to mention the
widget is suspended.
Mark the remote views as not significant for
accessibility.

Bug: 28909714
Change-Id: I8804d41e520e2b4af7ade0fa8820ee7b2488bde5

8 years agoAdd data from /proc/pagetypeinfo to procstats.
Joe Onorato [Thu, 19 May 2016 22:46:00 +0000 (15:46 -0700)]
Add data from /proc/pagetypeinfo to procstats.

This data tells us the number of pages of each type that
are available by page size.  It is collected each time
the procstats snapshot is taken, and printed in the
checkin and verbose (dumpsys procstats -a) modes.

Change-Id: I14562eac15833617391c560638a9e7d239ef8db6

8 years agoRemoving extra haptic feedback.
Winson [Mon, 23 May 2016 18:30:34 +0000 (18:30 +0000)]
Removing extra haptic feedback.
am: 7660bca509

* commit '7660bca5099b1a568e025345f1ba0aa68793e15a':
  Removing extra haptic feedback.

Change-Id: I91237da897bfeeb89405e4e44828e1c312eee951

8 years agoMerge "Correct height of add printer list separator" into nyc-dev
Philip P. Moltmann [Mon, 23 May 2016 18:27:13 +0000 (18:27 +0000)]
Merge "Correct height of add printer list separator" into nyc-dev

8 years agoRemoving extra haptic feedback.
Winson [Sat, 21 May 2016 17:51:19 +0000 (10:51 -0700)]
Removing extra haptic feedback.

- ag/923796 changed the logic to always return true, so these extra
  calls are no longer needed.

Bug: 28867314
Change-Id: I07a4f6ac772a1444bba1950b2f27aa4be58a8419

8 years agoMerge "Fixed flicker when docking task from recents." into nyc-dev
Wale Ogunwale [Mon, 23 May 2016 18:12:38 +0000 (18:12 +0000)]
Merge "Fixed flicker when docking task from recents." into nyc-dev
am: bc0a5cb2f8

* commit 'bc0a5cb2f8b5cac550196b535d91e07bb586f647':
  Fixed flicker when docking task from recents.

Change-Id: I706798a9561613033af637473bf98b8fb72a8ca4

8 years agoMerge "Fixing isOpRestricted in AppOpsService" into nyc-dev
Suprabh Shukla [Mon, 23 May 2016 18:03:32 +0000 (18:03 +0000)]
Merge "Fixing isOpRestricted in AppOpsService" into nyc-dev
am: 653e7bedb4

* commit '653e7bedb4ea95f69c109d54ddd0b7a49e6530c6':
  Fixing isOpRestricted in AppOpsService

Change-Id: Ic73cd0e420b5ed3efec3e8f34df1e350cf227944

8 years agoMerge "Fixed flicker when docking task from recents." into nyc-dev
TreeHugger Robot [Mon, 23 May 2016 18:01:12 +0000 (18:01 +0000)]
Merge "Fixed flicker when docking task from recents." into nyc-dev

8 years agoMerge "Fixing isOpRestricted in AppOpsService" into nyc-dev
TreeHugger Robot [Mon, 23 May 2016 17:57:49 +0000 (17:57 +0000)]
Merge "Fixing isOpRestricted in AppOpsService" into nyc-dev

8 years agoFixed a crash with the autocancelling
Selim Cinek [Mon, 23 May 2016 17:56:34 +0000 (10:56 -0700)]
Fixed a crash with the autocancelling

Change-Id: If9cb9cc89bafbc9e7e053b4758382239bac97adc
Fixes: 28878632
Fixes: 28898623

8 years agoOnly resuming starting dontWaitForPause activity once
Wale Ogunwale [Mon, 23 May 2016 17:56:33 +0000 (10:56 -0700)]
Only resuming starting dontWaitForPause activity once

For a starting activity that doesn't wait for pause, we can resume it
when ensuring visible activities when pausing back stacks. If this
happens, there is no need to try to resume it again.

Bug: 28853615
Change-Id: Iee40b80eb13ab3fd65fdce0c100c4051e64f229f

8 years agoMerge "Never fetch notification badges for USER_SYSTEM" into nyc-dev
Chris Wren [Mon, 23 May 2016 17:47:29 +0000 (17:47 +0000)]
Merge "Never fetch notification badges for USER_SYSTEM" into nyc-dev
am: 0a9ccf2619

* commit '0a9ccf26192bc5a6fd74afb7afd4834b08230299':
  Never fetch notification badges for USER_SYSTEM

Change-Id: Ic6530a6b92c26d68a25ab15d24779b5f3f10f35a

8 years agoMerge "Never fetch notification badges for USER_SYSTEM" into nyc-dev
Chris Wren [Mon, 23 May 2016 17:44:14 +0000 (17:44 +0000)]
Merge "Never fetch notification badges for USER_SYSTEM" into nyc-dev

8 years agoAdd a check to adjust thumbnail scaling for full screen shots on TV
Sid Soundararajan [Wed, 11 May 2016 23:40:49 +0000 (16:40 -0700)]
Add a check to adjust thumbnail scaling for full screen shots on TV

This should let us get away with taking smaller bitmaps for TV.

BUG: 28371792
Change-Id: Ia5d43dd48c57c4dd519b46f0c0d0ec94df5f42a9

8 years agoMerge "Remove PROPERTY_WORK_CALL" into nyc-dev
Tony Mak [Mon, 23 May 2016 17:26:45 +0000 (17:26 +0000)]
Merge "Remove PROPERTY_WORK_CALL" into nyc-dev
am: 5ee420c0d5

* commit '5ee420c0d562e9ff55fe9bf03c746bc76fd40d5e':
  Remove PROPERTY_WORK_CALL

Change-Id: I17d204d01b2fc356fa6b70d4c5cd73f4b0a10d6c

8 years agoCatching all exceptions when docking.
Winson [Mon, 23 May 2016 17:26:43 +0000 (17:26 +0000)]
Catching all exceptions when docking.
am: f60a4af047

* commit 'f60a4af04779174b39b7d3d277de88ed1204d024':
  Catching all exceptions when docking.

Change-Id: I7ed98c617e3cdc241546d085ede23f49445cd223

8 years agoMerge "Remove PROPERTY_WORK_CALL" into nyc-dev
Tony Mak [Mon, 23 May 2016 17:17:26 +0000 (17:17 +0000)]
Merge "Remove PROPERTY_WORK_CALL" into nyc-dev

8 years agoCatching all exceptions when docking.
Winson [Sat, 21 May 2016 17:39:53 +0000 (10:39 -0700)]
Catching all exceptions when docking.

- Catch all exceptions thrown when docking an activity (similar to when
  we start an activity) to allow us to gracefully handle the failure and
  animate the task back into the stack.

Bug: 28867188
Change-Id: I3f80d261343c0161c5cbfd08a05a1fc6157f653e

8 years agoCorrect height of add printer list separator
Philip P. Moltmann [Mon, 23 May 2016 16:43:42 +0000 (09:43 -0700)]
Correct height of add printer list separator

Do not use listPreferredItemHeightSmall a height for list separator.

Fixes: 28907033
Change-Id: Ibe9744f28e7bd17fb5a298fa3cff0e3d403de10f

8 years agoLoad WebView even if WebView relro creation times out.
Gustav Sennton [Mon, 23 May 2016 12:09:03 +0000 (13:09 +0100)]
Load WebView even if WebView relro creation times out.

There are cases in which the WebView Update Service can stop switching
WebView providers (if the update service is notified about relro
creations an incorrect number of times) and in those cases apps will
fail to load WebView.

In this CL we mitigate this problem by allowing apps to load WebView
even if the time-out is reached and we also decrease the time-out so
apps are less likely to ANR when waiting for the time-out.

This CL does not prevent the update service from ending up in a bad
state - so we will still end up crashing apps if the current WebView
implementation is uninstalled after relro creation fails.

Bug: 28860862
Change-Id: Ib6af3722e17a13db77ef34c37581a6a0e1d045bb

8 years agoRecording activity notification: return list of configuration
Jean-Michel Trivi [Thu, 19 May 2016 17:42:35 +0000 (10:42 -0700)]
Recording activity notification: return list of configuration

Use a list of configurations instead of an array

Bug 28819230

Change-Id: Ia4a3cdabf8337cfb98abe4d0055d497bcab8a5ee

8 years agoFixed enforceMeteredApnPolicy when Data Saver is on.
Felipe Leme [Sat, 21 May 2016 01:04:14 +0000 (18:04 -0700)]
Fixed enforceMeteredApnPolicy when Data Saver is on.

When enforceMeteredApnPolicy() is called when Data Saver mode is on and
the caller's UID is not whitelisted, it should add a
NET_CAPABILITY_NOT_METERED to the capabilities.

Change-Id: Ieed4f4a7634ee023ec58c91859263655e0ba62d4
Fixes: 28608499 (and https://code.google.com/p/android/issues/detail?id=208478)

8 years agoFix Certificate authority installed notification is gone when turning off and on...
Victor Chang [Mon, 23 May 2016 16:37:01 +0000 (17:37 +0100)]
Fix Certificate authority installed notification is gone when turning off and on the work mode.

cause: Work mode is turned on before entering USER_STOPPED state.
Thus, BOOT_COMPLETED broadcast is not sent, but the notification has been dismissed.

use USER_STARTED + USER_UNLOCKED because both are foreground.

Bug: 28864104
Change-Id: I4796b61586e194d8367b9e52a9c56f858cbcbe7d

8 years agoFixed flicker when docking task from recents.
Wale Ogunwale [Mon, 23 May 2016 16:10:24 +0000 (09:10 -0700)]
Fixed flicker when docking task from recents.

Regression introduced by ag/1044640 where we don't want recents to the
visible if it's stack isn't fullscreen or focused. However, it is
possible for switching the home stack to not-fullscreen to prolonged
while transitioning to split-screen mode from recents. We now check
for if the docked stack exists which is a better indicator we are in
split-screen mode regardless of if the stask is fullscreen.

Bug: 28882948
Bug: 28246419
Change-Id: I54c02cc1486e7b5bf6a20dd0706c9bfe3f40a953

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Mon, 23 May 2016 15:57:49 +0000 (15:57 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
am: 6a983faab3  -s ours

* commit '6a983faab35cc4f22611b0cb8041f4dcbac545dc':
  Import translations. DO NOT MERGE

Change-Id: If7150468a26a9a259b7696d2ee3594518ba0a213

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Mon, 23 May 2016 15:57:47 +0000 (15:57 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
am: 7d1246e95d  -s ours

* commit '7d1246e95d0815424e6654af4ef613a7726551b1':
  Import translations. DO NOT MERGE

Change-Id: I320c2898acb42393e12e98e2b750bbc854f634d2

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Mon, 23 May 2016 15:57:45 +0000 (15:57 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
am: 05be3b4541  -s ours

* commit '05be3b454134afc73ae44cda88af10bead5324a6':
  Import translations. DO NOT MERGE

Change-Id: I94238461acc288413140d20799142aba4dd7c353