Commit Graph

253881 Commits

Author SHA1 Message Date
Nicolas Geoffray
7366e8c16a 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
2016-07-14 08:32:52 +00:00
Calin Juravle
0bd7762079 [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
2016-07-14 08:20:29 +00:00
Tony Mak
bfba9d485e Disallow user to block notification from OobConfig
Change-Id: Ifb2ea790559fc91f88b38ecf29a2b0a7949aeabb
Fix: 29632126
2016-07-14 15:29:44 +08:00
Philip P. Moltmann
fde8ecc2ea Always trigger a write if no pages are written
If a previous write was canceled we can end up in the situation where
the layout reports "not changes since layout" but no pages have been
written.

In this case we have to trigger a write even if the layout reports that
nothing changed.

Fixes: 24110832
Change-Id: I4b3f69581e63f4084cd3712861288ded7d9c9249
2016-07-14 05:14:51 +00:00
TreeHugger Robot
acef1eb7c6 Merge "Make Night display off by default" into nyc-mr1-dev 2016-07-14 05:04:39 +00:00
Jack Yu
92a07ae79d Merge "Disable VT when users turn off data or hit data limit" into nyc-mr1-dev 2016-07-14 04:58:55 +00:00
Michael Kwan
36bc5d5862 Merge "Update theme colours for watch type devices." into nyc-mr1-dev 2016-07-14 03:32:27 +00:00
TreeHugger Robot
5cbbc02a0f Merge "More correctly track upstream network properties." into nyc-mr1-dev 2016-07-14 03:17:05 +00:00
Tomasz Mikolajewski
0e7bb571fd Merge "Fix javadoc broken links in DocumentsContract." into nyc-mr1-dev 2016-07-14 03:16:42 +00:00
Justin Klaassen
13c78e107c Make Night display off by default
Bug: 30042357
Change-Id: Id7528ee56e162e3e2865a61273e8380ce299c0d7
2016-07-13 19:51:31 -07:00
TreeHugger Robot
0c05a3dd1c Merge "Fix ShadowGrid in UiBench" into nyc-mr1-dev 2016-07-14 02:09:06 +00:00
Jim Miller
26e8fc012a Fix bug where swiping on the fp sensor when the screen is off causes blank screen
Fixes bug 29834150

Change-Id: Idcb45a9e9cff9313f737a6896bfbb54b3bfc1472
2016-07-13 19:06:24 -07:00
Andrew Solovay
47912a55ac Merge \"docs: Added link to API diff between M and N\" into nyc-dev
am: 17b221792a

Change-Id: I96dbdbdf051b891c91421eb0bfe2080a06a006cd
2016-07-14 02:05:50 +00:00
TreeHugger Robot
558393740d Merge "Add Night display QSTile" into nyc-mr1-dev 2016-07-14 01:57:10 +00:00
Andrew Solovay
17b221792a Merge "docs: Added link to API diff between M and N" into nyc-dev 2016-07-14 01:52:20 +00:00
Adam Lesinski
ce9cf64eb3 Merge \"Don\'t hold on to AssetManager instances\" into nyc-dev
am: f8e99e72e7

Change-Id: I71b7499c6399ecbf1d8e8d93bf410aabbb2a1044
2016-07-14 01:50:52 +00:00
Adam Lesinski
f8e99e72e7 Merge "Don't hold on to AssetManager instances" into nyc-dev 2016-07-14 01:40:35 +00:00
TreeHugger Robot
a7ebd4f4bb 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
2016-07-14 01:38:53 +00:00
Phil Weaver
93d51af336 Merge "Behave if the same view gets a11y focus twice." into nyc-mr1-dev 2016-07-14 01:25:05 +00:00
TreeHugger Robot
ec2ea47ead Merge "Preemptively add string for possible toast." into nyc-mr1-dev 2016-07-14 01:16:38 +00:00
Wei Jia
27a1e97ae4 Merge \"MediaDataSource: add DrmInitialization for IDataSource.\" into nyc-dev
am: 9604b3803c

Change-Id: I080b409a7f73cfadd5103efbbe563184d57f63d7
2016-07-14 01:14:40 +00:00
TreeHugger Robot
9604b3803c Merge "MediaDataSource: add DrmInitialization for IDataSource." into nyc-dev 2016-07-14 01:07:15 +00:00
Michael Kwan
7a0e4eb10c Update theme colours for watch type devices.
Bug: 26914376
Change-Id: I127a9404fa8dea2db6c3196742566f8d12ccb113
2016-07-13 17:41:29 -07:00
Christopher Tate
eb33bbe7f7 Dump the source uid of scheduled jobs
We currently dump the user and the component name but not uid attribution.

Bug 26514089

Change-Id: Ia9830017741f8951666810ce94b2d6a9e68105ee
2016-07-13 17:38:11 -07:00
Makoto Onuki
4e6cef49ef Handle locale change and pacakge change in different way
- Stop using a custom callback from AM to detect locale changes
and use the LOCALE_CHANGED broadcast instead.

- This would open up a chance where a publisher app fetches
its won manifest shortcuts after a locale change but
ShortcutManager hasn't updated string resources.

- So instead, at every entry point from ShortcutManager, check
if the locale has changed, and if so, update all resources
(and reset throttling).

- Do the same for package change events too.  At every entry point
from ShortcutManager, check if the caller package has been updated,
or any target activities have been disabled.  If so, rescan the
caller package.

- We do *not* do the same check at the LauncherApps entry points,
because the launcher should use the callback to listen to
shortcut changes.

- Also stopped using PackageMonitor for now because we want to
set a higher priority and changing PackageMonitor at this point
seems too much for DR.

Bug 29895275
Bug 30123329

Change-Id: Ib4a2f626a936c7328e2cc032324f5c3d1c3b9122
2016-07-13 17:37:06 -07:00
Tyler Gunn
853d8f68f9 Add alternative EXTRA_CALL_RAT_TYPE definition for noncompliant modems.
Some modems use a lowercase version of this extra, which is not correct.
Adding an alternate definition so ImsCall can still determine the radio
type.

Bug: 28933314
Change-Id: I61d13a2aa447877e1c89c3ae474a8614c29492a1
2016-07-13 17:25:37 -07:00
Adam Lesinski
e60064ab3c 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
2016-07-14 00:22:12 +00:00
TreeHugger Robot
0e5ac11d30 Merge "Give the default storage manager access to the storage permissions." into nyc-mr1-dev 2016-07-14 00:13:47 +00:00
Tim Murray
a7a3427425 Merge \"Don\'t dump stack traces for background ANRs.\" into nyc-dev
am: b2b203ae13

Change-Id: I0777b4d28be2601425b6fe7f51f3ec7dc5635c6e
2016-07-14 00:07:51 +00:00
Tim Murray
b2b203ae13 Merge "Don't dump stack traces for background ANRs." into nyc-dev 2016-07-14 00:00:30 +00:00
Andrew Sapperstein
4e5008c4c5 Merge "Use colorControlHighlight for print button ripple." into nyc-mr1-dev 2016-07-14 00:00:26 +00:00
Wei Liu
6e8630307a Merge "Add BUGREPORT_OPTION_WEAR so that Wear can customize its bugreporting." into nyc-mr1-dev 2016-07-13 23:59:28 +00:00
TreeHugger Robot
f61eb922f9 Merge "Disallow safe boot when in demo mode" into nyc-mr1-dev 2016-07-13 23:45:39 +00:00
Annie Chin
8709d0fce8 Merge "Set mContext scope to protected." into nyc-mr1-dev 2016-07-13 23:42:04 +00:00
Annie Chin
4c249ff7a0 Set mContext scope to protected.
Bug: 29582254
Change-Id: I5c9861373b712a4bd9e5f1fba1e638d1ff6be170
2016-07-13 16:39:14 -07:00
Doris Liu
133ab10464 Merge "Fix use-after-free in vector drawable animation" into nyc-mr1-dev 2016-07-13 23:38:12 +00:00
Annie Chin
3372c90cd7 Merge "Add setLandscape() method to ButtonInterface" into nyc-mr1-dev 2016-07-13 23:35:09 +00:00
Jack Yu
8781b68e2b 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
2016-07-13 16:32:25 -07:00
Wei Jia
509cbb6385 MediaDataSource: add DrmInitialization for IDataSource.
Bug: 29342399
Bug: 28901867
Change-Id: Ib2049566582aa08783ff588dd25afef4e1c0b5e2
(cherry picked from commit a03dc2b5eb)
2016-07-13 23:24:20 +00:00
smain@google.com
39426fd8f6 update the version number used in docs
and update the offline docs landing page

Change-Id: I36388e0a125d6349518d9c4d5368fb76fb85cf7a
2016-07-13 16:08:25 -07:00
Android Build Merger (Role)
30c4050703 Merge "Merge \"Doc: Minor fixes following launch of Performance section on DAC.\" into nyc-dev am: 419dbdb538" into nyc-mr1-dev 2016-07-13 23:06:26 +00:00
Android Build Merger (Role)
eaeee37417 Merge "Merge \"Avoid throwing when 0 size layer requested\" into nyc-dev am: 807989facd" into nyc-mr1-dev 2016-07-13 23:06:17 +00:00
David Friedman
b925c8242f Merge \"Doc: Minor fixes following launch of Performance section on DAC.\" into nyc-dev
am: 419dbdb538

Change-Id: I2540f9ddfe0bd3e8fb1e18ad019276369d76f83b
2016-07-13 23:05:56 +00:00
Chris Craik
c5762d3cdf Merge \"Avoid throwing when 0 size layer requested\" into nyc-dev
am: 807989facd

Change-Id: Ie5ed67db841478cb6bbc6b90f768521d049833e6
2016-07-13 23:05:53 +00:00
Ashutosh Joshi
2e42020eab Merge "Add state for loading/unloading apps" into nyc-mr1-dev 2016-07-13 23:04:47 +00:00
Tim Murray
f0f9a82981 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
2016-07-13 16:02:43 -07:00
Joe Fernandez
419dbdb538 Merge "Doc: Minor fixes following launch of Performance section on DAC." into nyc-dev 2016-07-13 23:00:27 +00:00
Chris Craik
5d2a453ab4 Fix ShadowGrid in UiBench
fixes: 30013642

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

Change-Id: Ia0e282b4b5ff7abf1a50b42ad2497d3c3344ccbc
(cherry picked from commit 9f0fa995c5)
2016-07-13 16:00:10 -07:00
Winson Chung
7a07477cff Merge "Ensure we pass correct values into the next transition start bounds." into nyc-mr1-dev 2016-07-13 22:56:53 +00:00
TreeHugger Robot
c8daad4290 Merge "Remove subtle dependencies" into nyc-mr1-dev 2016-07-13 22:55:37 +00:00