Commit Graph

368104 Commits

Author SHA1 Message Date
Nicolas Geoffray
6c26c953e4 Merge "Add camera APIs to light grey." into pi-dev 2018-06-05 13:15:24 +00:00
Mihai Popa
db63d3b644 [automerger skipped] Merge "Optimise the hit test algorithm" into oc-dev am: 6064d8fd4c am: 0348259446 -s ours
am: 86c2ef5bde  -s ours

Change-Id: I334cf06de7d1e48eb52710c5844daa2b32b5b07c
2018-06-05 05:17:27 -07:00
Mihai Popa
86c2ef5bde [automerger skipped] Merge "Optimise the hit test algorithm" into oc-dev am: 6064d8fd4c
am: 0348259446  -s ours

Change-Id: I7ddad2c5dd22f31c812683c4a715dc7738605ff9
2018-06-05 04:51:17 -07:00
Mihai Popa
0348259446 Merge "Optimise the hit test algorithm" into oc-dev
am: 6064d8fd4c

Change-Id: I465c15edb18c3084e6b8cbf1f42c0c2c1ebea4eb
2018-06-05 04:39:29 -07:00
Mihai Popa
b6c9be3ac2 [automerger skipped] Merge "Optimise the hit test algorithm" into oc-mr1-dev
am: bbfee3189d  -s ours

Change-Id: I46ea8080731ca5cd9690dff3e60953f1b2d7e930
2018-06-05 04:38:11 -07:00
Jorim Jaggi
44121059dc Merge "Crashing can not override Keyguard transit" into pi-dev 2018-06-05 11:32:55 +00:00
TreeHugger Robot
6064d8fd4c Merge "Optimise the hit test algorithm" into oc-dev 2018-06-05 11:28:42 +00:00
TreeHugger Robot
bbfee3189d Merge "Optimise the hit test algorithm" into oc-mr1-dev 2018-06-05 11:28:11 +00:00
TreeHugger Robot
0192e9a213 Merge "Optimise the hit test algorithm" into pi-dev 2018-06-05 11:24:19 +00:00
Jorim Jaggi
318e52881e Merge "Defer stop for all activities becoming invisible" into pi-dev 2018-06-05 10:55:38 +00:00
Nicolas Geoffray
2bc11b29a2 Add camera APIs to light grey.
bug: 79935371
Test: m
Change-Id: I1b29664d711b168ff36ed68d111524c8357c3c20
2018-06-05 09:58:06 +01:00
Makoto Onuki
205a5581ae Merge "Allow except-idle whitelisted apps to start BG services in EBS" into pi-dev 2018-06-05 01:29:48 +00:00
TreeHugger Robot
c1203d6a96 Merge "Ensure automatic battery saver won't stick" into pi-dev 2018-06-04 23:35:15 +00:00
TreeHugger Robot
0c6929ec04 Merge "Revert "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS"" into pi-dev 2018-06-04 23:27:42 +00:00
Ying Zheng
9b5267f914 Merge "Read build flag to determine user model." into pi-dev 2018-06-04 23:21:44 +00:00
Ying Zheng
04e1ca0242 Read build flag to determine user model.
Bug: 109698349
Test: Manual
Change-Id: I180b6a877ead576b0ed1292376fe0e74b0df1fd9
2018-06-04 16:02:39 -07:00
Makoto Onuki
af8ff4f2af Allow except-idle whitelisted apps to start BG services in EBS
Change-Id: I8dd42f48cf13c97b4e428afbf29838f442d8731b
Fixes: 80420676
Test: dumpsys activity processes| grep mDeviceIdle
  mDeviceIdleWhitelist=[1000, 1001, 2000, 10028, 10035, 10036, 10042, 10053, 10137, 10138, 10139, 10142]
  mDeviceIdleExceptIdleWhitelist=[1000, 1001, 2000, 10006, 10008, 10014, 10016, 10028, 10035, 10036, 10042, 10047, 10053, 10058, 10060, 10070, 10111, 10137, 10138, 10139, 10142]
Test: Manual test with "DEBUG_BACKGROUND_CHECK = true" and
am startservice 'com.android.vending/com.google.android.finsky.hygiene.DailyHygiene\$DailyHygieneService'
then check the whitelist log.
2018-06-04 15:31:42 -07:00
Andrii Kulian
f0e2c8bdde Merge "Defer client visibility update when calculating new config" into pi-dev 2018-06-04 21:55:13 +00:00
TreeHugger Robot
492457e94e Merge "New behavior of setSynchronousMode" into pi-dev 2018-06-04 21:30:17 +00:00
Makoto Onuki
1d146e4493 Ensure automatic battery saver won't stick
Fixes: 80527470
Test: Manual tests:
Test 1: (make sure automatic BS won't stick)
- Set up automatic battery saver at N%
- Wait until the battery goes below N% -> Battery saver will turn on
- Turn off the device
- Charge it until the battery goes above N%
- Turn on the device
- Make sure battery saver is off.

Test 1: (make sure manual BS will stick)
- Make sure the battery level is above the automatic threshold
- Manually enable BS
- Reboot
- Make sure battery saver is on.

Change-Id: I677fd586f6b25d0200392941cac2d13b57fe10b3
2018-06-04 13:54:25 -07:00
Hongming Jin
64896541d4 Merge "Add shell command handler for account manager to allow enabling service binding for instant app. Test: cts-tradefed run cts -m CtsAccountManagerTestCases cts-instant-tradefed run cts-instant -m CtsAccountManagerTestCases Bug: 79367659" into pi-dev 2018-06-04 20:38:46 +00:00
Andrew Sapperstein
4da326c0d6 Revert "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS"
This reverts commit 44c4ca41d8.

Reason for revert: Wanted to go with a different option and this was mistakenly Dr. No'ed.

Bug: 80444486
Test: clean revert
Change-Id: I7fdd13a5bc0f4d9fabf91f3e5497c4065008b531
2018-06-04 20:34:31 +00:00
TreeHugger Robot
15ebbeb9fd Merge "Update checking of flag MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS" into pi-dev 2018-06-04 20:32:30 +00:00
Adrian Roos
60d179780f [automerger skipped] Merge "WM: Prevent secondary display focus while keyguard is up" into oc-dev am: f04714c59a am: 6281d64277
am: 668761b146  -s ours

Change-Id: Icf2ed114aa3c2bf500ea59c3f52ec75d0f73ff84
2018-06-04 12:49:11 -07:00
TreeHugger Robot
842ec5085b Merge "Blank screen when coming from pulse" into pi-dev 2018-06-04 19:45:18 +00:00
TreeHugger Robot
4003570f57 Merge "Camera: fix off by one error" into pi-dev 2018-06-04 19:34:19 +00:00
Adrian Roos
668761b146 Merge "WM: Prevent secondary display focus while keyguard is up" into oc-dev am: f04714c59a
am: 6281d64277

Change-Id: Ic7b12c406ac5aea0e9f40b5f2c2f72c5efd87212
2018-06-04 11:18:38 -07:00
David Brazdil
23621e7f02 Merge "Add another entry to hidden API light grey" into pi-dev 2018-06-04 17:14:49 +00:00
Adrian Roos
6281d64277 Merge "WM: Prevent secondary display focus while keyguard is up" into oc-dev
am: f04714c59a

Change-Id: I38bab1ff56a30cccb2f748588ffbbe54d5e17e80
2018-06-04 10:02:32 -07:00
Hongming Jin
8e2bfc11ce Add shell command handler for account manager to allow enabling service
binding for instant app.
Test: cts-tradefed run cts -m CtsAccountManagerTestCases
cts-instant-tradefed run cts-instant -m CtsAccountManagerTestCases
Bug: 79367659

Change-Id: I3ac968ebc20be68da08293d9b685a01920f11b76
2018-06-04 09:41:01 -07:00
Yin-Chia Yeh
47849abc2d Camera: fix off by one error
Test: DngCreator CTS test
Bug: 74434422
Change-Id: Ib8aa5f1eec6a5213f6c2c3aeb2d46475107f13c6
2018-06-04 09:23:14 -07:00
TreeHugger Robot
f04714c59a Merge "WM: Prevent secondary display focus while keyguard is up" into oc-dev 2018-06-04 11:44:21 +00:00
David Brazdil
1147d70b0c Add another entry to hidden API light grey
Bug: 80553977
Test: make out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt
Change-Id: Ic63b7c21ec77ac67b495a5cc5b8b9336ba41fc46
2018-06-04 11:38:16 +01:00
Nicolas Geoffray
b4d26bdd4c Add more light grey APIs.
bug: 109588718
Test: m
Change-Id: Ibf0d0366a2a20124dfaafbc39015a1eb3c1ecedf
2018-06-04 09:00:17 +01:00
TreeHugger Robot
dea740bdce Merge "Import translations. DO NOT MERGE" into pi-dev 2018-06-03 23:30:24 +00:00
TreeHugger Robot
499ab31d92 Merge "Import translations. DO NOT MERGE" into pi-dev 2018-06-03 22:34:21 +00:00
TreeHugger Robot
eecbf8d318 Merge "Import translations. DO NOT MERGE" into pi-dev 2018-06-03 22:26:29 +00:00
TreeHugger Robot
874fab7208 Merge "Import translations. DO NOT MERGE" into pi-dev 2018-06-03 22:22:26 +00:00
TreeHugger Robot
aef1031ce6 Merge "Import translations. DO NOT MERGE" into pi-dev 2018-06-03 22:22:20 +00:00
Bill Yi
b456f26d2c Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I3d8f7c63c86424767ea717511e218c090090a5a2
2018-06-03 07:48:00 -07:00
Bill Yi
7184818826 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ie47fd40001b22ebd53a452443a52fb3449c3ee68
2018-06-03 07:40:47 -07:00
Bill Yi
66b71e420e Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I470dc0700da24f49ea47c107089be2fc91175e87
2018-06-03 05:41:32 -07:00
Bill Yi
0edea4caec Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ide5351c17e5deb31ebccd586440cf7755bb9b9de
2018-06-03 04:01:15 -07:00
Bill Yi
c903759781 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I1b358135c0013b5ba30f5d416fd252d474f090bf
2018-06-03 03:47:25 -07:00
Bill Yi
6765d1a1e7 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: If6ca37ec539ab563a635e938845fcc6643b8e2b8
2018-06-03 03:27:06 -07:00
Andrii Kulian
a39ae3ea36 Defer client visibility update when calculating new config
In ActivityStackSupervisor#ensureVisibilityAndConfig() we first
update visibility of all activities to be able to properly calculate
configuration on the next step. However, we need to make sure the
latest config is applied whenever a client becomes visible.
To prevent making making activities visible without latest config
this CL defers messages to client in first visibility calculation
pass.

Bug: 76011287
Test: ActivityLifecycleTests
Test: ActivityManagerAppConfigurationTests
Change-Id: I978fc800322fb502545650b9f2eece96cd9c7f40
2018-06-01 15:50:52 -07:00
John Reck
c4f520ddb6 Merge "Ensure picture isn't recording in createBitmap" into pi-dev 2018-06-01 22:25:52 +00:00
Alan Viverette
4eca92d579 Merge "Partial revert of "Align Theme, Theme.Holo, and Theme.Holo.Light with Material attrs"" into pi-dev 2018-06-01 20:29:04 +00:00
John Reck
44fc6317f1 Ensure picture isn't recording in createBitmap
Picture#draw() will silently due an #endRecording() if it
wasn't called. Bitmap.createBitmap doesn't do this until
after it's too late.

So do an up-front #endRecording() to ensure state is
good to go

Bug: 80539264
Test: HardwareBitmapTests#testReadbackThroughPictureNoEndRecording
Change-Id: Ic66c41462e88880b73c5093d7541c4ce3d71adeb
2018-06-01 12:55:13 -07:00
TreeHugger Robot
ce67e5d1d5 Merge "Import translations. DO NOT MERGE" into pi-dev 2018-06-01 19:35:37 +00:00