Commit Graph

301953 Commits

Author SHA1 Message Date
Fyodor Kupolov
c6dc9b53d8 Disabling presubmit tests until they fixed
Test: manual
Bug: 33498338
Bug: 33498346
Change-Id: I50f15d39e2bf1195b192fc882b38601ba2372740
2016-12-09 17:06:51 -08:00
Michael Rosenfeld
6952303c28 Merge "Copy preload2.jar to build artifacts" am: 64583c332a
am: dc017c4e49

Change-Id: Ic0d41a8d555b3f0b07a40ecfedd18e3e9341bed8
2016-12-10 01:06:45 +00:00
Michael Rosenfeld
dc017c4e49 Merge "Copy preload2.jar to build artifacts"
am: 64583c332a

Change-Id: I5cb3a43c09546881872803dabefb23950c0c1c17
2016-12-10 01:01:13 +00:00
George Mount
f9c4b57b02 Fix blink of final position in activity transitions.
Bug 33059372

When implementing OneShotPreDrawListener, one of the onPreDraw()
calls was supposed to return false. This CL restores that behavior.

Test: manual against Play Movies app

Change-Id: I416da3bb3e84efb009f0efbacad71d0a2f66fe18
2016-12-09 16:51:35 -08:00
Michael Rosenfeld
64583c332a Merge "Copy preload2.jar to build artifacts" 2016-12-10 00:48:52 +00:00
Joe Onorato
b62655ed9b Merge "Hold a wake lock while DeviceIdleController is going idle." 2016-12-10 00:41:34 +00:00
Lingjun Li
19c5e1bae5 Merge "Adding unlockProfile to trust-agent meta data and makes TrustAgent runnable under direct boot" 2016-12-10 00:37:19 +00:00
Meng Wang
8d98324f3c Merge changes from topic 'am-c0ec5f28a7be4becb812fcd1d98e341c' into nyc-mr2-dev-plus-aosp
am: 735bb46ff5

Change-Id: I20d6ccd78e04797690030acb7ef0d6b41fa6b08f
2016-12-10 00:35:05 +00:00
Meng Wang
6af3b5a0c7 Merge "DO NOT MERGE API for reporting IMS registration failures" into nyc-mr2-dev am: 8f1a57f943
am: e0db14a9d8  -s ours

Change-Id: Ic458af9acc0ee2db7d67dd013cd16d142c8e3f26
2016-12-10 00:25:42 +00:00
Dheeraj Shetty
9ffdb38e58 DO NOT MERGE API for reporting IMS registration failures am: a62a1302ee
am: 5a34b7489e  -s ours

Change-Id: If5634913a6009e600f41325c8abe23d5c048be5e
2016-12-10 00:24:45 +00:00
Jeremy Joslin
9ae0fc42ae Merge "Update registerNetworkScoreCache() to accept a filter type." am: a511a07fa3 am: 4150ec18e9 am: 9f38345a08
am: 5364e2b82b  -s ours

Change-Id: Ic0aca7bcbbfdeec984e22d6809796f1d9384b141
2016-12-10 00:21:55 +00:00
Chris Craik
3f7c6adeef Add benchmarks for different ways to show/hide view subtrees
Bug: 33460152
Test: benchmark CL. Ran new benchmarks.

Change-Id: I7bdd8988543df821eee7b608ea439dfcf54464e5
2016-12-09 16:21:18 -08:00
Android Build Merger (Role)
735bb46ff5 Merge changes from topic 'am-c0ec5f28a7be4becb812fcd1d98e341c' into nyc-mr2-dev-plus-aosp
* changes:
  Merge "DO NOT MERGE API for reporting IMS registration failures" into nyc-mr2-dev am: 8f1a57f943
  DO NOT MERGE API for reporting IMS registration failures am: a62a1302ee
2016-12-10 00:18:41 +00:00
Meng Wang
e0db14a9d8 Merge "DO NOT MERGE API for reporting IMS registration failures" into nyc-mr2-dev
am: 8f1a57f943

Change-Id: Iabd29c97283920bb39a33a98fe193f296f2b6b17
2016-12-10 00:16:59 +00:00
Michael Rosenfeld
d19ea14f30 Copy preload2.jar to build artifacts
Test: local build
Bug: 33492076
Change-Id: I76de648cd1947e49278a678a4c6f1dce8092bbd4
2016-12-09 16:16:54 -08:00
Dheeraj Shetty
5a34b7489e DO NOT MERGE API for reporting IMS registration failures
am: a62a1302ee

Change-Id: Iad3a0ab889618cc329517b102067f5b26ed96ee0
2016-12-10 00:16:52 +00:00
Jeremy Joslin
5364e2b82b Merge "Update registerNetworkScoreCache() to accept a filter type." am: a511a07fa3 am: 4150ec18e9
am: 9f38345a08

Change-Id: I13f01dbfa300463a34c34d7c49f3dc97e42391d8
2016-12-10 00:16:39 +00:00
Jeremy Joslin
9f38345a08 Merge "Update registerNetworkScoreCache() to accept a filter type." am: a511a07fa3
am: 4150ec18e9

Change-Id: I589bead5cf4e9f57f21c234d7d0b5d62cdb1e2b3
2016-12-10 00:11:12 +00:00
Selim Cinek
6598974fdf Fixed a bug where both icons were visible initially
Because the default state was visible the icon visibilities
were never updated.

Change-Id: I8c54a204e9cbf304d53d82b4dbb22acf3f7d487d
Test: add fresh notificaitions, adb shell killall com.android.systemui, observe no double notification when added from shelf
Bug: 32437839
2016-12-09 16:11:07 -08:00
Jeff Sharkey
4f05cd8900 Remove DEXOPT_OTA flag.
Test: builds, boots
Bug: 13758960, 30944031
Change-Id: I266a39c6dc7948f784580e4ef1cf0bb8ee27d0e7
2016-12-09 17:09:30 -07:00
Meng Wang
8f1a57f943 Merge "DO NOT MERGE API for reporting IMS registration failures" into nyc-mr2-dev 2016-12-10 00:08:24 +00:00
Selim Cinek
be3b1aa6ad Merge "Only doing the icon animations now when expanding slowly" 2016-12-10 00:07:32 +00:00
Jeremy Joslin
4150ec18e9 Merge "Update registerNetworkScoreCache() to accept a filter type."
am: a511a07fa3

Change-Id: I51983da8fe63db15d9b38e3ebe4a20cb95cb5f13
2016-12-10 00:06:37 +00:00
Bill Yi
06457bb323 Merge "Revert "Import translations. DO NOT MERGE"" 2016-12-09 23:59:17 +00:00
Bill Yi
e7ffc04f84 Revert "Import translations. DO NOT MERGE"
This reverts commit 012932e059.

Change-Id: I5578b1560a17981fed1175617981cbd4dae64396
2016-12-09 23:58:35 +00:00
Treehugger Robot
a511a07fa3 Merge "Update registerNetworkScoreCache() to accept a filter type." 2016-12-09 23:56:35 +00:00
Bill Yi
2d660f4b73 Merge "Import translations. DO NOT MERGE" 2016-12-09 23:37:39 +00:00
Fyodor Kupolov
98e9e85543 Always delete from CE table in removeAccountInternal
Test: AMSTest passes
Bug: 32660831
Change-Id: Iad40bf151f885a86eb6b4e074e9ec83159277e47
2016-12-09 15:12:51 -08:00
TreeHugger Robot
e15e208ad0 Merge "Make MATCH_ANY_USER system api" 2016-12-09 22:36:39 +00:00
Jeff Sharkey
740f523b25 Final push of installd to Binder; goodbye socket!
Move last two straggling installd commands to Binder and destroy the
socket-based communication channel forever.

Test: builds, boots, apps install fine, pre-OTA dexopt works
Bug: 13758960, 30944031
Change-Id: I9afb9f71858febde34a94f53839b2986493b68a0
2016-12-09 15:30:34 -07:00
TreeHugger Robot
61bde4d40c Merge "Replace ContentProvider SQL args w/ Bundle & Constants." 2016-12-09 22:25:29 +00:00
TreeHugger Robot
c09d69e8af Merge "Protect BackStackRecord from accessing null mHost." 2016-12-09 22:24:16 +00:00
TreeHugger Robot
e211783381 Merge "PackageDexOptimizer: fix typo in log message." 2016-12-09 22:23:52 +00:00
Joe Onorato
8f0e9cede1 Hold a wake lock while DeviceIdleController is going idle.
The inputs to DeviceIdleController (alarm manager, sensors)
hold wake locks while they call it.  But then the real work
happens in a handler which is outside of the wakelock, so
listeners don't get a chance to run right away, which in
the case of NetworkPolicyManager means the device is in a
higher power state than it should be.

It's not clear that this will 100% fix the bug, because
NetworkPolicyManagerService also has its own internal
Handler, and isn't holding its own wakelock for this,
but this change allows NPMS to be fixed if it really
needed to be.

Bug: 31900521
Test: adb shell dumpsys deviceidle step ... adb shell dumpsys power has no wakelocks held
Change-Id: I799f45221a6b327e7f63745cadc95ca644c064c6
2016-12-09 14:23:11 -08:00
John Reck
03240107a5 Delete dead code
Test: none, it's unused code
Change-Id: If25f4f22d8f3a9819f673bacce9ad4c213dd73ed
2016-12-09 22:04:53 +00:00
John Reck
ce44045d85 Merge "Fix window copy for rotation = 90/270" 2016-12-09 22:04:36 +00:00
Doris Liu
c1b9569d72 Merge "Add API info about Keyframe and PropertyValuesHolder" into nyc-mr2-dev am: 65734b2f66
am: 551d0afac4

Change-Id: I5b51e233a109e7eeea90467c174a28b2a440935d
2016-12-09 21:31:45 +00:00
Doris Liu
ad804a9b43 Add API info about Keyframe and PropertyValuesHolder am: 21b93c1f66
am: 046f615de8

Change-Id: I22ca65d40ef4fc04be2cf1fec214409a20aa8e07
2016-12-09 21:30:44 +00:00
Fyodor Kupolov
7a1e682794 [DO NOT MERGE] Switch to using UMS.mUserStates
UserManager.isUserUnlocked/isUserRunning/isUserUnlockingOrUnlocked now
return state from UMS.mUserStates that is pushed from ActivityManager.

Test: create managed profile using TestDPC and check Launcher3
Test: manually create unstarted managed profile and check launchers
Bug: 33232933
Change-Id: I6b619ba1880188eabdd6e3e4cc7eb60d3a22a977
2016-12-09 21:23:57 +00:00
Doris Liu
551d0afac4 Merge "Add API info about Keyframe and PropertyValuesHolder" into nyc-mr2-dev
am: 65734b2f66

Change-Id: I8384c369e4a529af6faf6168f0a65ea55fce2e42
2016-12-09 21:20:07 +00:00
Doris Liu
046f615de8 Add API info about Keyframe and PropertyValuesHolder
am: 21b93c1f66

Change-Id: Id0e4795ad4a2aaa98dac85dd3f7ef18ab80b3f9c
2016-12-09 21:19:59 +00:00
Jeremy Joslin
823db059e4 Update registerNetworkScoreCache() to accept a filter type.
Defined a new IntDef in NetworkScoreManager named CacheUpdateFilter
with 3 values. Caches must be registered with a filter value and will
only receive updates based on their registered filter. Actual
filtering implementation will follow.

Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
BUG: 32912120
Change-Id: I3ce0bee171e6405176358479fa8a532fd5193824
Merged-In: I8940e0ed1a7bbcb5a81fb3b6a7fafe4fbbc33875
2016-12-09 13:15:15 -08:00
Doris Liu
65734b2f66 Merge "Add API info about Keyframe and PropertyValuesHolder" into nyc-mr2-dev 2016-12-09 21:13:40 +00:00
TreeHugger Robot
5db8b0ac50 Merge "Update registerNetworkScoreCache() to accept a filter type." 2016-12-09 21:06:43 +00:00
Selim Cinek
d5ab645f46 Only doing the icon animations now when expanding slowly
Previously the animation was too distrating when expanding
fast.

Test: add notification, expand fast, observe no animations
Change-Id: I11658368b49094368886c64028c210a1dc95d938
Fixes: 33458094
2016-12-09 13:00:20 -08:00
Lingjun Li
20914d7939 Adding unlockProfile to trust-agent meta data and makes TrustAgent runnable under direct boot
Test: manual
Change-Id: I1f0ccafac08be2cc3f4540232e764ef21d4fed38
2016-12-09 12:33:52 -08:00
Steve McKay
ea93fe7539 Replace ContentProvider SQL args w/ Bundle & Constants.
Test: cts-tradefed run cts-dev -m CtsContentTestCases
Bug: 30927484
Change-Id: Idb9dbc2b80896e9f8474a0db71353b7a3810d597
2016-12-09 12:31:44 -08:00
Jorge Lucangeli Obes
0f62508236 PackageDexOptimizer: fix typo in log message.
'oatDir' is the only token that has a space around the '='. None of the
other tokens in the log message do. Make the log message consistent so
that grepping is easier -- and the log message looks better.

Before:
PackageManager.DexOptimizer: Running dexopt (dex2oat) on:
/system/priv-app/Telecom/Telecom.apk pkg=com.android.server.telecom
isa=arm64 vmSafeMode=false debuggable=false
target-filter=interpret-only oatDir = null sharedLibraries=null

After:
PackageManager.DexOptimizer: Running dexopt (dex2oat) on:
/system/priv-app/Telecom/Telecom.apk pkg=com.android.server.telecom
isa=arm64 vmSafeMode=false debuggable=false
target-filter=interpret-only oatDir=null sharedLibraries=null

Bug: None
Test: Build, flash, grep for log message.
Change-Id: I84162ec3535e3f83a60a62d40cbaf8e74d2051c6
2016-12-09 15:30:06 -05:00
Fyodor Kupolov
215d9f1352 Merge "[DO NOT MERGE] Increased user switch timeout to 3s" into nyc-mr2-dev am: 8aa678b575
am: 0478fff36c  -s ours

Change-Id: I022cb5eb8de2255198957983a8929d151de4d171
2016-12-09 20:21:54 +00:00
Fyodor Kupolov
5025f69a09 [DO NOT MERGE] Increased user switch timeout to 3s am: 2fe1990ba7
am: bc8940f425  -s ours

Change-Id: I8f7aecf370f6cc3d7fb5c701c9110ed977d1f135
2016-12-09 20:20:59 +00:00