OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "QS Detail: Remove up arrow" into nyc-mr1-dev
Jason Monk [Thu, 14 Jul 2016 13:08:45 +0000 (13:08 +0000)]
Merge "QS Detail: Remove up arrow" into nyc-mr1-dev

8 years agoMerge "Fix typo in DevicePolicyManager" into nyc-mr1-dev
Rubin Xu [Thu, 14 Jul 2016 09:46:21 +0000 (09:46 +0000)]
Merge "Fix typo in DevicePolicyManager" into nyc-mr1-dev

8 years agoMerge "Read translation and elevation attributes as floats" into nyc-mr1-dev
Chris Banes [Thu, 14 Jul 2016 09:11:03 +0000 (09:11 +0000)]
Merge "Read translation and elevation attributes as floats" into nyc-mr1-dev

8 years agoMerge changes I7a052a8e,Idb11b1c0 into nyc-mr1-dev
Nicolas Geoffray [Thu, 14 Jul 2016 08:32:51 +0000 (08:32 +0000)]
Merge changes I7a052a8e,Idb11b1c0 into nyc-mr1-dev

* changes:
  [RFC] Special case system apps for profile optimizations
  Compile core-apps according to their own "reason" for A/B

8 years ago[RFC] Special case system apps for profile optimizations
Calin Juravle [Tue, 12 Jul 2016 14:56:41 +0000 (15:56 +0100)]
[RFC] Special case system apps for profile optimizations

If the OTA updates a system app which was previously preopted to a non-
preopted state the app might end up being verified at runtime. That's
because by default the apps are verify-profile but for preopted apps
there's no profile.

Do a hacky check to ensure that if we have no profiles (a reasonable
indication that before the OTA the app was preopted) system apps get
compiled with a non-profile filter (by default interpret-only).

Bug: 30032273
Test: Andreas "has verified that Calin's change to A/B works as expected
and promotes things like SystemUI to speed. From my side, that's
ready to be merged"

Change-Id: I7a052a8ea76cab7f649dc993237ea05534d6c4b9

8 years agoMerge "Make Night display off by default" into nyc-mr1-dev
TreeHugger Robot [Thu, 14 Jul 2016 05:04:38 +0000 (05:04 +0000)]
Merge "Make Night display off by default" into nyc-mr1-dev

8 years agoMerge "Disable VT when users turn off data or hit data limit" into nyc-mr1-dev
Jack Yu [Thu, 14 Jul 2016 04:58:53 +0000 (04:58 +0000)]
Merge "Disable VT when users turn off data or hit data limit" into nyc-mr1-dev

8 years agoMerge "Update theme colours for watch type devices." into nyc-mr1-dev
Michael Kwan [Thu, 14 Jul 2016 03:32:26 +0000 (03:32 +0000)]
Merge "Update theme colours for watch type devices." into nyc-mr1-dev

8 years agoMerge "More correctly track upstream network properties." into nyc-mr1-dev
TreeHugger Robot [Thu, 14 Jul 2016 03:17:04 +0000 (03:17 +0000)]
Merge "More correctly track upstream network properties." into nyc-mr1-dev

8 years agoMerge "Fix javadoc broken links in DocumentsContract." into nyc-mr1-dev
Tomasz Mikolajewski [Thu, 14 Jul 2016 03:16:40 +0000 (03:16 +0000)]
Merge "Fix javadoc broken links in DocumentsContract." into nyc-mr1-dev

8 years agoMake Night display off by default
Justin Klaassen [Wed, 13 Jul 2016 23:34:28 +0000 (16:34 -0700)]
Make Night display off by default

Bug: 30042357
Change-Id: Id7528ee56e162e3e2865a61273e8380ce299c0d7

8 years agoMerge "Fix ShadowGrid in UiBench" into nyc-mr1-dev
TreeHugger Robot [Thu, 14 Jul 2016 02:09:04 +0000 (02:09 +0000)]
Merge "Fix ShadowGrid in UiBench" into nyc-mr1-dev

8 years agoMerge \"docs: Added link to API diff between M and N\" into nyc-dev
Andrew Solovay [Thu, 14 Jul 2016 02:05:50 +0000 (02:05 +0000)]
Merge \"docs: Added link to API diff between M and N\" into nyc-dev
am: 17b221792a

Change-Id: I96dbdbdf051b891c91421eb0bfe2080a06a006cd

8 years agoMerge "Add Night display QSTile" into nyc-mr1-dev
TreeHugger Robot [Thu, 14 Jul 2016 01:57:09 +0000 (01:57 +0000)]
Merge "Add Night display QSTile" into nyc-mr1-dev

8 years agoMerge "docs: Added link to API diff between M and N" into nyc-dev
Andrew Solovay [Thu, 14 Jul 2016 01:52:18 +0000 (01:52 +0000)]
Merge "docs: Added link to API diff between M and N" into nyc-dev

8 years agoMerge \"Don\'t hold on to AssetManager instances\" into nyc-dev
Adam Lesinski [Thu, 14 Jul 2016 01:50:52 +0000 (01:50 +0000)]
Merge \"Don\'t hold on to AssetManager instances\" into nyc-dev
am: f8e99e72e7

Change-Id: I71b7499c6399ecbf1d8e8d93bf410aabbb2a1044

8 years agoMerge "Don't hold on to AssetManager instances" into nyc-dev
Adam Lesinski [Thu, 14 Jul 2016 01:40:34 +0000 (01:40 +0000)]
Merge "Don't hold on to AssetManager instances" into nyc-dev

8 years agoMerge changes I56d6be69,Ibf8f9b26 into nyc-mr1-dev
TreeHugger Robot [Thu, 14 Jul 2016 01:38:52 +0000 (01:38 +0000)]
Merge changes I56d6be69,Ibf8f9b26 into nyc-mr1-dev

* changes:
  Fixed a bug where the headsup would be stuck disappearing
  Changed the appearance of phone call notifications

8 years agoMerge "Behave if the same view gets a11y focus twice." into nyc-mr1-dev
Phil Weaver [Thu, 14 Jul 2016 01:25:04 +0000 (01:25 +0000)]
Merge "Behave if the same view gets a11y focus twice." into nyc-mr1-dev

8 years agoMerge "Preemptively add string for possible toast." into nyc-mr1-dev
TreeHugger Robot [Thu, 14 Jul 2016 01:16:37 +0000 (01:16 +0000)]
Merge "Preemptively add string for possible toast." into nyc-mr1-dev

8 years agoMerge \"MediaDataSource: add DrmInitialization for IDataSource.\" into nyc-dev
Wei Jia [Thu, 14 Jul 2016 01:14:40 +0000 (01:14 +0000)]
Merge \"MediaDataSource: add DrmInitialization for IDataSource.\" into nyc-dev
am: 9604b3803c

Change-Id: I080b409a7f73cfadd5103efbbe563184d57f63d7

8 years agoMerge "MediaDataSource: add DrmInitialization for IDataSource." into nyc-dev
TreeHugger Robot [Thu, 14 Jul 2016 01:07:13 +0000 (01:07 +0000)]
Merge "MediaDataSource: add DrmInitialization for IDataSource." into nyc-dev

8 years agoUpdate theme colours for watch type devices.
Michael Kwan [Thu, 14 Jul 2016 00:41:29 +0000 (17:41 -0700)]
Update theme colours for watch type devices.

Bug: 26914376
Change-Id: I127a9404fa8dea2db6c3196742566f8d12ccb113

8 years agoDon't hold on to AssetManager instances
Adam Lesinski [Wed, 13 Jul 2016 19:09:24 +0000 (12:09 -0700)]
Don't hold on to AssetManager instances

If we enter multi-window mode or load WebView
assets into a Resources object, then the underlying
AssetManager instance may change.

crbug.com/627586

Bug:30118654

Change-Id: I837637bdad5370809db7f060d7d8536b536cad9e

8 years agoMerge "Give the default storage manager access to the storage permissions." into...
TreeHugger Robot [Thu, 14 Jul 2016 00:13:46 +0000 (00:13 +0000)]
Merge "Give the default storage manager access to the storage permissions." into nyc-mr1-dev

8 years agoMerge \"Don\'t dump stack traces for background ANRs.\" into nyc-dev
Tim Murray [Thu, 14 Jul 2016 00:07:51 +0000 (00:07 +0000)]
Merge \"Don\'t dump stack traces for background ANRs.\" into nyc-dev
am: b2b203ae13

Change-Id: I0777b4d28be2601425b6fe7f51f3ec7dc5635c6e

8 years agoMerge "Don't dump stack traces for background ANRs." into nyc-dev
Tim Murray [Thu, 14 Jul 2016 00:00:29 +0000 (00:00 +0000)]
Merge "Don't dump stack traces for background ANRs." into nyc-dev

8 years agoMerge "Use colorControlHighlight for print button ripple." into nyc-mr1-dev
Andrew Sapperstein [Thu, 14 Jul 2016 00:00:25 +0000 (00:00 +0000)]
Merge "Use colorControlHighlight for print button ripple." into nyc-mr1-dev

8 years agoMerge "Add BUGREPORT_OPTION_WEAR so that Wear can customize its bugreporting." into...
Wei Liu [Wed, 13 Jul 2016 23:59:27 +0000 (23:59 +0000)]
Merge "Add BUGREPORT_OPTION_WEAR so that Wear can customize its bugreporting." into nyc-mr1-dev

8 years agoMerge "Disallow safe boot when in demo mode" into nyc-mr1-dev
TreeHugger Robot [Wed, 13 Jul 2016 23:45:38 +0000 (23:45 +0000)]
Merge "Disallow safe boot when in demo mode" into nyc-mr1-dev

8 years agoMerge "Set mContext scope to protected." into nyc-mr1-dev
Annie Chin [Wed, 13 Jul 2016 23:42:03 +0000 (23:42 +0000)]
Merge "Set mContext scope to protected." into nyc-mr1-dev

8 years agoSet mContext scope to protected.
Annie Chin [Fri, 8 Jul 2016 21:52:00 +0000 (14:52 -0700)]
Set mContext scope to protected.

Bug: 29582254
Change-Id: I5c9861373b712a4bd9e5f1fba1e638d1ff6be170

8 years agoMerge "Fix use-after-free in vector drawable animation" into nyc-mr1-dev
Doris Liu [Wed, 13 Jul 2016 23:38:10 +0000 (23:38 +0000)]
Merge "Fix use-after-free in vector drawable animation" into nyc-mr1-dev

8 years agoMerge "Add setLandscape() method to ButtonInterface" into nyc-mr1-dev
Annie Chin [Wed, 13 Jul 2016 23:35:08 +0000 (23:35 +0000)]
Merge "Add setLandscape() method to ButtonInterface" into nyc-mr1-dev

8 years agoDisable VT when users turn off data or hit data limit
Jack Yu [Fri, 8 Jul 2016 21:28:51 +0000 (14:28 -0700)]
Disable VT when users turn off data or hit data limit

Disable VT when users turn off data or hit data limit. If
there are ongoing VT calls, we'll need to downgrade them
to VoLTE calls.

bug: 27316521
Change-Id: I89fe42f6cf6c419c21c4f2006e9cb43cf7e13503

8 years agoMediaDataSource: add DrmInitialization for IDataSource.
Wei Jia [Thu, 7 Jul 2016 23:08:30 +0000 (16:08 -0700)]
MediaDataSource: add DrmInitialization for IDataSource.

Bug: 29342399
Bug: 28901867
Change-Id: Ib2049566582aa08783ff588dd25afef4e1c0b5e2
(cherry picked from commit a03dc2b5eb94a906eeeda5bf0afbcfb60588abb4)

8 years agoMerge "Merge \"Doc: Minor fixes following launch of Performance section on DAC.\...
Android Build Merger (Role) [Wed, 13 Jul 2016 23:06:25 +0000 (23:06 +0000)]
Merge "Merge \"Doc: Minor fixes following launch of Performance section on DAC.\" into nyc-dev am: 419dbdb538" into nyc-mr1-dev

8 years agoMerge "Merge \"Avoid throwing when 0 size layer requested\" into nyc-dev am: 807989fa...
Android Build Merger (Role) [Wed, 13 Jul 2016 23:06:16 +0000 (23:06 +0000)]
Merge "Merge \"Avoid throwing when 0 size layer requested\" into nyc-dev am: 807989facd" into nyc-mr1-dev

8 years agoMerge \"Doc: Minor fixes following launch of Performance section on DAC.\" into nyc-dev
David Friedman [Wed, 13 Jul 2016 23:05:56 +0000 (23:05 +0000)]
Merge \"Doc: Minor fixes following launch of Performance section on DAC.\" into nyc-dev
am: 419dbdb538

Change-Id: I2540f9ddfe0bd3e8fb1e18ad019276369d76f83b

8 years agoMerge \"Avoid throwing when 0 size layer requested\" into nyc-dev
Chris Craik [Wed, 13 Jul 2016 23:05:53 +0000 (23:05 +0000)]
Merge \"Avoid throwing when 0 size layer requested\" into nyc-dev
am: 807989facd

Change-Id: Ie5ed67db841478cb6bbc6b90f768521d049833e6

8 years agoMerge "Add state for loading/unloading apps" into nyc-mr1-dev
Ashutosh Joshi [Wed, 13 Jul 2016 23:04:46 +0000 (23:04 +0000)]
Merge "Add state for loading/unloading apps" into nyc-mr1-dev

8 years agoDon't dump stack traces for background ANRs.
Tim Murray [Wed, 13 Jul 2016 20:33:28 +0000 (13:33 -0700)]
Don't dump stack traces for background ANRs.

Dumping stack traces can be extremely expensive, and doing so for
background applications often has extremely negative side effects for
foreground applications. This can be exacerbated by resource-intensive
applications, because those may exhibit thermal throttling in the first
place. For such applications, the additional performance hit caused by
stack dumps may be catastrophic.

Instead, don't dump stack traces for background ANRs except for the app
that actually ANR'd.

bug 30112521

Change-Id: I8a05059343254861c436a193690cd1c50a95d674

8 years agoMerge "Doc: Minor fixes following launch of Performance section on DAC." into nyc-dev
Joe Fernandez [Wed, 13 Jul 2016 23:00:26 +0000 (23:00 +0000)]
Merge "Doc: Minor fixes following launch of Performance section on DAC." into nyc-dev

8 years agoFix ShadowGrid in UiBench
Chris Craik [Fri, 1 Jul 2016 17:25:46 +0000 (10:25 -0700)]
Fix ShadowGrid in UiBench

fixes: 30013642

Refactor Fragment to not be anonymous, support lib hates those.

Change-Id: Ia0e282b4b5ff7abf1a50b42ad2497d3c3344ccbc
(cherry picked from commit 9f0fa995c57cedf4e4a707955e55e17ea9116ffe)

8 years agoMerge "Ensure we pass correct values into the next transition start bounds." into...
Winson Chung [Wed, 13 Jul 2016 22:56:50 +0000 (22:56 +0000)]
Merge "Ensure we pass correct values into the next transition start bounds." into nyc-mr1-dev

8 years agoMerge "Remove subtle dependencies" into nyc-mr1-dev
TreeHugger Robot [Wed, 13 Jul 2016 22:55:35 +0000 (22:55 +0000)]
Merge "Remove subtle dependencies" into nyc-mr1-dev

8 years agoMerge "Avoid throwing when 0 size layer requested" into nyc-dev
Chris Craik [Wed, 13 Jul 2016 22:49:19 +0000 (22:49 +0000)]
Merge "Avoid throwing when 0 size layer requested" into nyc-dev

8 years agoAdd Night display QSTile
Justin Klaassen [Wed, 22 Jun 2016 03:28:12 +0000 (20:28 -0700)]
Add Night display QSTile

Bug: 28615069
Bug: 29619615
Change-Id: Ie23bd1ed9266941682eceb5f2086201bf02af765

8 years agoMerge "Merge \"docs: added placeholder redirect for New Class dialog AS 2.2 b/3004548...
Android Build Merger (Role) [Wed, 13 Jul 2016 22:40:08 +0000 (22:40 +0000)]
Merge "Merge \"docs: added placeholder redirect for New Class dialog AS 2.2 b/30045484\" into nyc-dev am: e820803172" into nyc-mr1-dev

8 years agoMerge \"docs: added placeholder redirect for New Class dialog AS 2.2 b/30045484\...
Cheryl Potter [Wed, 13 Jul 2016 22:39:46 +0000 (22:39 +0000)]
Merge \"docs: added placeholder redirect for New Class dialog AS 2.2 b/30045484\" into nyc-dev
am: e820803172

Change-Id: I2f0c8e31b9a4e2427166e170f55c2e1c8729cd82

8 years agoMerge "Fix QS gear metrics" into nyc-mr1-dev
TreeHugger Robot [Wed, 13 Jul 2016 22:39:34 +0000 (22:39 +0000)]
Merge "Fix QS gear metrics" into nyc-mr1-dev

8 years agoPreemptively add string for possible toast.
Jeff Sharkey [Wed, 13 Jul 2016 22:32:25 +0000 (16:32 -0600)]
Preemptively add string for possible toast.

Bug: 30033319
Change-Id: I4daf4d35656514a835bed1b255dd48f3a0eeb845

8 years agoMerge "Make Recents button work in demo mode" into nyc-mr1-dev
TreeHugger Robot [Wed, 13 Jul 2016 22:37:30 +0000 (22:37 +0000)]
Merge "Make Recents button work in demo mode" into nyc-mr1-dev

8 years agoAdd state for loading/unloading apps
Ashutosh Joshi [Wed, 27 Apr 2016 18:19:16 +0000 (11:19 -0700)]
Add state for loading/unloading apps

Add state for loading/unloading nanoApps.
Pass on OS response to ContextHubService clients.
Fix Build Breakage due to uninitalized variables.

Bug: 29193948
Change-Id: Ibebecf704bb3ad2583e110f1fcf05400a53b1b4c

8 years agoMerge "Revert "Add state for loading/unloading apps"" into nyc-mr1-dev
Ashutosh Joshi [Wed, 13 Jul 2016 22:17:36 +0000 (22:17 +0000)]
Merge "Revert "Add state for loading/unloading apps"" into nyc-mr1-dev

8 years agodocs: Added link to API diff between M and N
Andrew Solovay [Wed, 13 Jul 2016 22:17:10 +0000 (15:17 -0700)]
docs: Added link to API diff between M and N

Removed links to download the reference docs bundle, now that the
API docs and the diff are available online.

See first comment for doc stage location.

bug: 29245751
Change-Id: I65f8661463cb03b6651391771abd2597d6e59a44

8 years agoRevert "Add state for loading/unloading apps"
Ashutosh Joshi [Wed, 13 Jul 2016 22:15:19 +0000 (22:15 +0000)]
Revert "Add state for loading/unloading apps"

This reverts commit 00b351aeef9c660cf3b1cfb3b24aae82d3fe2b8e.

Change-Id: Iee229adff8fec4f2407aa895886e63953f0d7d32

8 years agoMerge "docs: added placeholder redirect for New Class dialog AS 2.2 b/30045484" into...
Cheryl Potter [Wed, 13 Jul 2016 22:13:49 +0000 (22:13 +0000)]
Merge "docs: added placeholder redirect for New Class dialog AS 2.2 b/30045484" into nyc-dev

8 years agoMerge "MediaPlayer: fix typo for OnInfoListener." into nyc-mr1-dev
Wei Jia [Wed, 13 Jul 2016 22:04:58 +0000 (22:04 +0000)]
Merge "MediaPlayer: fix typo for OnInfoListener." into nyc-mr1-dev

8 years agoMerge "Fix disabling lockscreen for demo users." into nyc-mr1-dev
TreeHugger Robot [Wed, 13 Jul 2016 22:00:37 +0000 (22:00 +0000)]
Merge "Fix disabling lockscreen for demo users." into nyc-mr1-dev

8 years agoFixed a bug where the headsup would be stuck disappearing
Selim Cinek [Wed, 13 Jul 2016 21:34:56 +0000 (14:34 -0700)]
Fixed a bug where the headsup would be stuck disappearing

Change-Id: I56d6be69f6e59c1bec647e7e70e50a36b793f895
Fixes: 30120962

8 years agoChanged the appearance of phone call notifications
Selim Cinek [Sat, 9 Jul 2016 00:14:16 +0000 (17:14 -0700)]
Changed the appearance of phone call notifications

Change-Id: Ibf8f9b266428fdd5374ee824ec4c2df10daeb9a7
Fixes:28269355

8 years agoMerge "Add state for loading/unloading apps" into nyc-mr1-dev
Ashutosh Joshi [Wed, 13 Jul 2016 21:51:30 +0000 (21:51 +0000)]
Merge "Add state for loading/unloading apps" into nyc-mr1-dev

8 years agoMerge "Optimize audio playback restriction check" into nyc-mr1-dev
Jean-Michel Trivi [Wed, 13 Jul 2016 21:50:57 +0000 (21:50 +0000)]
Merge "Optimize audio playback restriction check" into nyc-mr1-dev

8 years agoMerge "ApplicationErrorReport: Sanitize stack trace" into nyc-mr1-dev
Adrian Roos [Wed, 13 Jul 2016 21:34:14 +0000 (21:34 +0000)]
Merge "ApplicationErrorReport: Sanitize stack trace" into nyc-mr1-dev

8 years agoBehave if the same view gets a11y focus twice.
Phil Weaver [Sat, 25 Jun 2016 01:17:21 +0000 (18:17 -0700)]
Behave if the same view gets a11y focus twice.

In some corner cases, ViewRootImpl#setAccessibilityFocus
can be called twice for the same view. Make sure we're
actually changing views before clearing accessibility focus
to avoid inconsistent state.

Bug: 29637593
Change-Id: I5dc6f05bdeaec55c352417bfca92c11bd03c3c10
(cherry picked from commit da4692774c74b51818a2df1dc7534d8d13d62634)

8 years agoGive the default storage manager access to the storage permissions.
Daniel Nishi [Wed, 13 Jul 2016 21:24:31 +0000 (14:24 -0700)]
Give the default storage manager access to the storage permissions.

Bug: 29793168
Change-Id: Iffeb2f7d86103a245b9bc36e637044633e81bef1

8 years agoDisallow safe boot when in demo mode
Fyodor Kupolov [Wed, 13 Jul 2016 18:33:09 +0000 (11:33 -0700)]
Disallow safe boot when in demo mode

Bug: 30038636
Change-Id: I70624bff85f5fb012772422f0fff523dab6e9be1

8 years agoEnsure we pass correct values into the next transition start bounds.
Winson [Wed, 13 Jul 2016 19:29:48 +0000 (12:29 -0700)]
Ensure we pass correct values into the next transition start bounds.

Bug: 30106779
Change-Id: I081beb1dc437516e0a6361fce2c4c4512f4d5f26

8 years agoMerge "sync rich comments back from google3" into nyc-mr1-dev
TreeHugger Robot [Wed, 13 Jul 2016 21:02:03 +0000 (21:02 +0000)]
Merge "sync rich comments back from google3" into nyc-mr1-dev

8 years agoMerge "QS: Fix emergency calls only layout" into nyc-mr1-dev
TreeHugger Robot [Wed, 13 Jul 2016 20:58:23 +0000 (20:58 +0000)]
Merge "QS: Fix emergency calls only layout" into nyc-mr1-dev

8 years agoRemove subtle dependencies
Todd Kennedy [Wed, 13 Jul 2016 20:20:30 +0000 (13:20 -0700)]
Remove subtle dependencies

There was a very subtle dependency on the method used to allocate a session
id and how that session id was stored. If the session id wasn't stored
in the same synchronized block where the allocation method was called, it
could have been possible to duplicate session ids. Instead of requiring
callers of the allocation method to know that the value must be stored
in a particular way, maintain a separate set of allocated session ids
that is updated by the allocation method and prevents any potential race
conditions.

Change-Id: Ibd793b3851bf1a994e00d86f621180cac598b86e
Fixes: 30089638

8 years agoMerge "Disallowing bluetooth config for demo users" into nyc-mr1-dev
TreeHugger Robot [Wed, 13 Jul 2016 20:15:29 +0000 (20:15 +0000)]
Merge "Disallowing bluetooth config for demo users" into nyc-mr1-dev

8 years agoMerge "Revert "Revert "Revert "Handle package broadcasts before apps do"""" into...
Makoto Onuki [Wed, 13 Jul 2016 20:13:51 +0000 (20:13 +0000)]
Merge "Revert "Revert "Revert "Handle package broadcasts before apps do"""" into nyc-mr1-dev

8 years agoFix QS gear metrics
Jason Monk [Wed, 13 Jul 2016 19:24:32 +0000 (15:24 -0400)]
Fix QS gear metrics

Change-Id: If1eeefa3831010d1567861dd71af6f29833496b3
Fixes: 30117924

8 years agoUse colorControlHighlight for print button ripple.
Andrew Sapperstein [Wed, 13 Jul 2016 20:04:13 +0000 (13:04 -0700)]
Use colorControlHighlight for print button ripple.

Instead of using #eeff41 (a random shade of yellow), use
the default color for ripples.

Change-Id: I32fc7e9a10a994deb2066941c96457ad8549dd11
Fixes: 30115080

8 years agoQS Detail: Remove up arrow
Jason Monk [Wed, 13 Jul 2016 19:55:43 +0000 (15:55 -0400)]
QS Detail: Remove up arrow

Change-Id: I5fb17dae78618f1d0fe520744d3b7cecce019568
Fixes: 27930924

8 years agoMerge "Revert changes to force layout after insets changes" into nyc-mr1-dev
Chong Zhang [Wed, 13 Jul 2016 19:39:07 +0000 (19:39 +0000)]
Merge "Revert changes to force layout after insets changes" into nyc-mr1-dev

8 years agoOptimize audio playback restriction check
Jean-Michel Trivi [Wed, 13 Jul 2016 18:25:21 +0000 (11:25 -0700)]
Optimize audio playback restriction check

Order the playback restriction checks from the most likely
  restriction to the least likely.

Bug 30073948

Change-Id: I6431d15a2ed8b5831f937eab8db940d942082b0e

8 years agoAdd state for loading/unloading apps
Ashutosh Joshi [Wed, 27 Apr 2016 18:19:16 +0000 (11:19 -0700)]
Add state for loading/unloading apps

Add state for loading/unloading nanoApps.
Pass on OS response to ContextHubService clients.

Bug: 29193948

Change-Id: I700f3bdbb8e84413455751dec02a812a639421b3

8 years agoRevert changes to force layout after insets changes
Chong Zhang [Wed, 13 Jul 2016 02:25:08 +0000 (19:25 -0700)]
Revert changes to force layout after insets changes

Alternative fix for b/29391054 ag/1152795 sends an MOVE message to
client which also force a layout, so we no longer need to force
it after the insets change in the traversal.

Reverting the following two related fixes as it does more
measures than necessary.

bug: 29391054
bug: 29533997
bug: 29634368

Revert "Fix layout issue after insets changed"

This reverts commit 76fdbb72c93a431e14357e0ea3d5a83edfa75c5e.

Revert "Do a forceLayout if pending insets is changed after relayout window"

This reverts commit 71f2c31469ed9628d744d20b86eaf188cfdf686d.

8 years agoFix use-after-free in vector drawable animation
Doris Liu [Wed, 13 Jul 2016 01:48:52 +0000 (18:48 -0700)]
Fix use-after-free in vector drawable animation

Added a strong pointer to hold reference to VD in the animation,
so that VD will not be released before animation is finished/destroyed.

BUG: 29438210
Change-Id: I311cd83043f988640de44f637cb474baada9b5ca

8 years agoMerge "Include all components in VR initialization." into nyc-mr1-dev
Ruben Brunk [Wed, 13 Jul 2016 19:02:25 +0000 (19:02 +0000)]
Merge "Include all components in VR initialization." into nyc-mr1-dev

8 years agoMake Recents button work in demo mode
Amith Yamasani [Wed, 13 Jul 2016 18:59:16 +0000 (11:59 -0700)]
Make Recents button work in demo mode

Create the UserSwitcherController object so that the broadcasts
are properly handled.

Change-Id: Iadf9588a4ddb7850f0d8ab2b49a0949fb4580893
Fixes: 30000641

8 years agoFix disabling lockscreen for demo users.
Sudheer Shanka [Wed, 13 Jul 2016 18:58:37 +0000 (11:58 -0700)]
Fix disabling lockscreen for demo users.

LockSettingsService cleans up data for an user on receiving
ACTION_USER_ADDED. As a result, the value set by the
RetailDemoModeService was getting lost.

Bug: 29912660
Change-Id: I2414a5586ab0187bc003cd6ee8b9f1645406235f

8 years agosync rich comments back from google3
Chris Wren [Wed, 13 Jul 2016 18:28:40 +0000 (14:28 -0400)]
sync rich comments back from google3

Bug: 30116535
Change-Id: I6e43ffda3d15b331c18752b5ee15770c6cdbfe85

8 years agoQS: Fix emergency calls only layout
Jason Monk [Wed, 13 Jul 2016 18:45:52 +0000 (14:45 -0400)]
QS: Fix emergency calls only layout

Change-Id: Ic66412b0c46f4436d63168a5e167d4adcad74283
Fixes: 29524397

8 years agoMerge "Whitelist default apps for DND access." into nyc-mr1-dev
Julia Reynolds [Wed, 13 Jul 2016 18:40:20 +0000 (18:40 +0000)]
Merge "Whitelist default apps for DND access." into nyc-mr1-dev

8 years agoMerge "Disallow shell to mutate always-on vpn when DISALLOW_CONFIG_VPN user restricti...
Victor Chang [Wed, 13 Jul 2016 18:36:35 +0000 (18:36 +0000)]
Merge "Disallow shell to mutate always-on vpn when DISALLOW_CONFIG_VPN user restriction is set" into nyc-mr1-dev

8 years agoMerge \"docs: Added \"developer stories\" articles.\" into nyc-dev
Kevin Hufnagle [Wed, 13 Jul 2016 18:06:44 +0000 (18:06 +0000)]
Merge \"docs: Added \"developer stories\" articles.\" into nyc-dev
am: 686996d2dc

Change-Id: I7a01c6f743c05c36c37eb5b742aaf756d13b9898

8 years agoMerge "docs: Added "developer stories" articles." into nyc-dev
Kevin Hufnagle [Wed, 13 Jul 2016 17:52:24 +0000 (17:52 +0000)]
Merge "docs: Added "developer stories" articles." into nyc-dev

8 years agoRevert "Revert "Revert "Handle package broadcasts before apps do"""
Makoto Onuki [Wed, 13 Jul 2016 17:25:25 +0000 (10:25 -0700)]
Revert "Revert "Revert "Handle package broadcasts before apps do"""

This reverts commit 886ba78dfb105eb45416587b73b6c6b336448de5.

With the tests updated.

Change-Id: I162e6ca23c667f90feddc1e9f42b554a416295cf

8 years agoFix typo in DevicePolicyManager
Rubin Xu [Wed, 13 Jul 2016 17:32:57 +0000 (18:32 +0100)]
Fix typo in DevicePolicyManager

Change-Id: I4aa9530794f1487d17765a532ad65a303f4f7ff8
Fix: 30115660

8 years agoApplicationErrorReport: Sanitize stack trace
Adrian Roos [Fri, 1 Jul 2016 20:11:18 +0000 (13:11 -0700)]
ApplicationErrorReport: Sanitize stack trace

Makes sure that the size of the stack trace does not exceed
40 KiBi, to ensure that even errors with large stack traces
are properly reported to ActivityManagerService. For good
measure, also ensure that the exception message is not too
long either.

Change-Id: Id8a99094023c15a981b1b79fd9ee0d803921e220
Fixes: 29918978

8 years agoMerge "Revert "Revert "Handle package broadcasts before apps do""" into nyc-mr1-dev
Makoto Onuki [Wed, 13 Jul 2016 17:09:36 +0000 (17:09 +0000)]
Merge "Revert "Revert "Handle package broadcasts before apps do""" into nyc-mr1-dev

8 years agoRevert "Revert "Handle package broadcasts before apps do""
Makoto Onuki [Wed, 13 Jul 2016 17:08:26 +0000 (17:08 +0000)]
Revert "Revert "Handle package broadcasts before apps do""

This reverts commit efbbe7ea9db8adab6bff407db1d7fc54bbaf31ee.

Change-Id: I3dbb080db5121307f533a7d411f4f5d47225500e

8 years agoMerge "Suppress immersive mode confirmation if navbar is empty" into nyc-mr1-dev
Adrian Roos [Wed, 13 Jul 2016 17:02:46 +0000 (17:02 +0000)]
Merge "Suppress immersive mode confirmation if navbar is empty" into nyc-mr1-dev

8 years agoWhitelist default apps for DND access.
Julia Reynolds [Mon, 11 Jul 2016 12:50:58 +0000 (08:50 -0400)]
Whitelist default apps for DND access.

Bug: 29606962
Change-Id: I0a94004cf08a51ab17813f99aabddbceb95ac8f0

8 years agoMerge "Grant Camera Permissions to DialerPackage" into nyc-mr1-dev
Usman Abdullah [Wed, 13 Jul 2016 16:39:10 +0000 (16:39 +0000)]
Merge "Grant Camera Permissions to DialerPackage" into nyc-mr1-dev

8 years agoMerge "Revert "Handle package broadcasts before apps do"" into nyc-mr1-dev
Makoto Onuki [Wed, 13 Jul 2016 16:33:38 +0000 (16:33 +0000)]
Merge "Revert "Handle package broadcasts before apps do"" into nyc-mr1-dev