244624 Commits

Author SHA1 Message Date
Adrian Roos
73d1ce85ac Improve ANR dropbox reports
Work towards better diagnosing b/29501073. Adds logic to ensure that the dropbox
entry generated for ANRs fits at least some part of the logcat before the MAX_DROPBOX_SIZE
mark. Also reduces the MAX_DROPBOX_SIZE to be better match size restrictions.

Bug: 29501073
Change-Id: Ice5599582cbb536b7d81aa0c0340ff753ca86ebf
2016-06-23 18:28:37 -07:00
Aurimas Liutikas
e82ac10fa2 Merge \\"Correct the size of example bitmap for xxhdpi.\\" into mnc-io-docs am: 396ed8d2cf
am: 6e70538600

Change-Id: I0714693f2f19107d056be72944343c9636a0ff7e
2016-06-09 16:57:02 +00:00
Aurimas Liutikas
9ac187304b Merge \\"Remove duplicate the from AppBar documentation.\\" into mnc-io-docs am: f9f7a29fe9
am: 9bd21c0fbb

Change-Id: Ib9c0255b772b0fc47d46758abdace1cf6bc9b045
2016-06-09 16:56:58 +00:00
Aurimas Liutikas
248eb25863 Merge \\"Fix code example in testing-support-library.\\" into mnc-io-docs am: e172a4b692
am: 5b8233126d

Change-Id: Iee54ea9150f67b2595df3919ee06d307778d6666
2016-06-09 16:56:54 +00:00
Aurimas Liutikas
d8b2c49475 Merge \\"Fix a link to CustomTabsCallback in support-library docs.\\" into mnc-io-docs am: 2ff2814a4a
am: 5d75a24896

Change-Id: Iaa7fa74ba79eb4b6ea2bdc8274ab1498cb6b79f5
2016-06-09 16:56:50 +00:00
Aurimas Liutikas
6e70538600 Merge \"Correct the size of example bitmap for xxhdpi.\" into mnc-io-docs
am: 396ed8d2cf

Change-Id: Idb10cf41ebddc99613fcac41e9b6367c6e6b9e46
2016-06-09 16:45:15 +00:00
Aurimas Liutikas
9bd21c0fbb Merge \"Remove duplicate the from AppBar documentation.\" into mnc-io-docs
am: f9f7a29fe9

Change-Id: I7c79f4df131bbb7f2f5189af901cd75ac240c194
2016-06-09 16:45:13 +00:00
Aurimas Liutikas
5b8233126d Merge \"Fix code example in testing-support-library.\" into mnc-io-docs
am: e172a4b692

Change-Id: I47e39e2a19289d12d1d54000c974ef9c1c97839a
2016-06-09 16:45:12 +00:00
Aurimas Liutikas
5d75a24896 Merge \"Fix a link to CustomTabsCallback in support-library docs.\" into mnc-io-docs
am: 2ff2814a4a

Change-Id: Ic1b3b40336bc22503ac86aea96bd98b705adf96d
2016-06-09 16:45:10 +00:00
Aurimas Liutikas
396ed8d2cf Merge "Correct the size of example bitmap for xxhdpi." into mnc-io-docs 2016-06-09 16:42:17 +00:00
Aurimas Liutikas
f9f7a29fe9 Merge "Remove duplicate the from AppBar documentation." into mnc-io-docs 2016-06-09 16:41:55 +00:00
Aurimas Liutikas
e172a4b692 Merge "Fix code example in testing-support-library." into mnc-io-docs 2016-06-09 16:39:26 +00:00
Aurimas Liutikas
2ff2814a4a Merge "Fix a link to CustomTabsCallback in support-library docs." into mnc-io-docs 2016-06-09 16:39:15 +00:00
Jason Monk
9b5a780722 Merge "QS: Fix crash when removing pages in RTL" into nyc-dev 2016-06-09 15:25:01 +00:00
Jason Monk
ac2e291832 Merge "QS Detail: Fix up open/close animations" into nyc-dev 2016-06-09 15:22:49 +00:00
TreeHugger Robot
972b902171 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-06-09 14:15:25 +00:00
Jason Monk
45233d6b10 QS: Fix crash when removing pages in RTL
Change-Id: Ic8f082a3dc61fbf12f576d4cffb8ab31e669cb7c
Fixes: 29122756
2016-06-09 09:59:56 -04:00
TreeHugger Robot
648c1112a6 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-06-09 13:51:11 +00:00
Bill Yi
2d12492338 Import translations. DO NOT MERGE
Change-Id: If53965a4f42f4c97334fc88250af6a72a9658b8a
Auto-generated-cl: translation import
2016-06-09 05:39:26 -07:00
Narayan Kamath
cf70a17a71 PackageManagerService: fix NPE while renaming foreign dex markers.
The User passed in to scan*LI is null during the initial boot scan
and maybeRenameForeignDexMarkers wasn't expecting it. We attempt to
rename markers for all users if that happens.

bug: 29167406
Change-Id: I892dcc542e75d62d72c062b8ce5506ef85df5fc2
2016-06-09 08:24:11 +00:00
TreeHugger Robot
55cf361d83 Merge "Don't depend directly on AppplicationInfo" into nyc-dev 2016-06-09 06:22:20 +00:00
Bill Yi
2373132065 Import translations. DO NOT MERGE
Change-Id: I3234ff4e69fbcc40de1d78539fcc886957b5dce5
Auto-generated-cl: translation import
2016-06-08 22:27:34 -07:00
David Sehr
1c4da6654f Merge "Simplify code paths computation, allow adb root to dump" into nyc-dev 2016-06-09 05:20:20 +00:00
Chad Brubaker
c3a6c78fed Don't depend directly on AppplicationInfo
ApplicationInfo is mutable and unfortunately some apps do actually
modify the flags. Due to the lazy loading nature of the network security
config this may lead to issues. Instead cache the needed flags and
resources at application startup.

Bug: 29063413

(cherry picked from commit 276ee969be89ba25e439839341953236adf80c40)

Change-Id: If638a716fd903b4e9dbabcbecb38bd4e26fef08c
2016-06-08 21:48:45 -07:00
TreeHugger Robot
0d25fdd4a8 Merge "Throw proper exception in ResourcesManager" into nyc-dev 2016-06-09 03:45:20 +00:00
Erik Wolsheimer
24d94b8aa0 Merge \\"DO NOT MERGE ANYWHERE Fix NPE when UID has no packages.\\" into cw-e-dev am: eae242cfe8 -s ours
am: 8b04b0db2e  -s ours

Change-Id: I459eec39aa68d4e165264189ce051bc8b4253965
2016-06-09 03:42:27 +00:00
Erik Wolsheimer
8b04b0db2e Merge \"DO NOT MERGE ANYWHERE Fix NPE when UID has no packages.\" into cw-e-dev
am: eae242cfe8  -s ours

Change-Id: Ia418392bcbab16d2c02689fdc79138b1cee304ab
2016-06-09 03:37:02 +00:00
Erik Wolsheimer
eae242cfe8 Merge "DO NOT MERGE ANYWHERE Fix NPE when UID has no packages." into cw-e-dev 2016-06-09 03:25:43 +00:00
fionaxu
9f0a266df9 DO NOT MERGE fix build breakage on k am: 4e33c4f8b1 am: 07c994012c am: 84f479f6b5 -s ours am: e1ca4cd074 -s ours am: 0e64d7411e am: eb53629bf7 am: 16dfcd7950 -s ours am: 2d03c0f956 am: dc9a7c7b23 am: e892848035
am: 7e2c6c3440  -s ours

Change-Id: Ic463b8a7a1a1ea537f1fea4fd36dd176464ac789
2016-06-09 02:39:15 +00:00
Chen Xu
0c4f1c7e5c Merge "resolve merge conflicts of afed6f8 to nyc-dev" into nyc-dev 2016-06-09 02:32:52 +00:00
Sreevani Sreejith
e8ebd8aea0 Merge \\"docs: Documented how to handle alarms in AA media apps.\\" into mnc-io-docs am: 21d6abf7be
am: 539b6b7580

Change-Id: I92cd1c4193e9e8920f28f3300d28bdc8bb6b04cd
2016-06-09 02:28:58 +00:00
sreevanis
539b6b7580 Merge \"docs: Documented how to handle alarms in AA media apps.\" into mnc-io-docs
am: 21d6abf7be

Change-Id: Id05d99983414d3884c0c90fb67eec224ca77c80b
2016-06-09 02:23:30 +00:00
Sreevani Sreejith
21d6abf7be Merge "docs: Documented how to handle alarms in AA media apps." into mnc-io-docs 2016-06-09 02:15:38 +00:00
sreevanis
c2f67456aa docs: Documented how to handle alarms in AA media apps.
Bug:27708785
Change-Id: Iee2a676fd8adbcba00301932d5e5637ee21df224
2016-06-08 19:10:49 -07:00
TreeHugger Robot
9e94c455f8 Merge "Always re-enable keyguard state when the user switches." into nyc-dev 2016-06-09 01:38:32 +00:00
TreeHugger Robot
e36da9c8c9 Merge "Revert "Temporarily increase timeout for devices with buggy driver"" into nyc-dev 2016-06-09 00:28:54 +00:00
Adam Lesinski
c82f28a913 Throw proper exception in ResourcesManager
In M we would bubble up a NameNotFoundException when failing
to load an assetmanager from another application. We switched
to throwing an IllegalArgumentException, which isn't something
anyone should handle.

This change has ResourcesManager throw Resources.NotFoundException,
which callers like ApplicationPackageManager can catch and rethrow
with the appropriate checked exception. This adds more detail to
errors than we had in M.

Bug:28876344
Change-Id: I250aeef8a4ccfd90c6abef2243edc1c5337ebde9
2016-06-08 17:25:35 -07:00
fionaxu
7978147771 resolve merge conflicts of afed6f8 to nyc-dev
Bug: 28557603
Change-Id: Icb19f3d031cce2d846d5f6e9ad4d28d002db6bac
2016-06-08 17:23:09 -07:00
Winson
18227e4831 Forcing software in header button background ripples.
Bug: 29133575
Change-Id: I21125e28208335f5b2c2adf06cb1c8199b3ca476
2016-06-09 00:20:01 +00:00
TreeHugger Robot
e5417a3863 Merge "Consume the first sample of KernelUidCpuTimeReader" into nyc-dev 2016-06-08 22:49:24 +00:00
Svetoslav Ganov
7014eef54a Merge "Teach persistable Uri grants about direct boot" into nyc-dev 2016-06-08 21:54:40 +00:00
Adam Lesinski
e7f4f0297f Consume the first sample of KernelUidCpuTimeReader
If the system_server crashes, when it starts back up
it will assume that the entries in kernelUidCpuTimeReader
are all fresh and we will end up double counting cpu time
and power.

Bug:29163081
Change-Id: I73e693199c170229af57efd610950e90263ac9bc
2016-06-08 14:19:09 -07:00
Adarsh Fernando
fe089e3dc5 AS UI redirect for experimental to stable Gradle migration guide am: c65f7e8071
am: 28f355bb63

Change-Id: I5efe04ef8a2c7c3d7a226ee91beca0f89e48be37
2016-06-08 21:18:02 +00:00
Adarsh Fernando
28f355bb63 AS UI redirect for experimental to stable Gradle migration guide
am: c65f7e8071

Change-Id: I6ebb598650756de2687b4ab73ef41e27b13c8b1c
2016-06-08 21:12:56 +00:00
Adarsh Fernando
c65f7e8071 AS UI redirect for experimental to stable Gradle migration guide
- This guide may be moved over to DAC when AS 2.2 goes stable.

Change-Id: Ia29bb75832f01efc8175db45f8fd08d5013d715e
2016-06-08 13:42:37 -07:00
Adrian Roos
3207d8f8a1 Merge "Direct Reply: Add back emoji button" into nyc-dev 2016-06-08 20:25:01 +00:00
David Sehr
ac063d64ea Simplify code paths computation, allow adb root to dump
Bug: 28748264
Change-Id: I1aefa5d98e80b58d6ed500c5d2d610569cf25c3a
2016-06-08 13:24:29 -07:00
Adrian Roos
713fed9226 Direct Reply: Add back emoji button
Bug: 29077108
Change-Id: Ibd1423465c5ec9aced4c4b77575a469f5e85f20d
2016-06-08 13:22:25 -07:00
TreeHugger Robot
b99e19c729 Merge "Ensure pinned animation scaling is consistently applied." into nyc-dev 2016-06-08 20:08:38 +00:00
Svet Ganov
f581be6ff5 Teach persistable Uri grants about direct boot
We read the persistable Uri grants on boot at which point
the user is not unlocked. This results in ignoring Uri
grants for boot unaware content providers.

This change reads all persisted Uri grants on boot but
filters them out during query based on the current user
unlock state.

bug:29058113

Change-Id: I2643fc098f42359e72a4c534236debc9b9389256
2016-06-08 12:44:20 -07:00