Commit Graph

424299 Commits

Author SHA1 Message Date
TreeHugger Robot
133e0a7eea Merge "RESTRICT AUTOMERGE Block TYPE_PRESENTATION windows on default display" into oc-dev 2020-03-11 04:53:16 +00:00
TreeHugger Robot
321b255d93 Merge "RESTRICT AUTOMERGE Use consistent calling uid and package in navigateUpTo" into pi-dev 2020-03-11 04:49:59 +00:00
Riddle Hsu
672530b42e Merge "RESTRICT AUTOMERGE Use consistent calling uid and package in navigateUpTo" into qt-dev 2020-03-11 04:43:24 +00:00
TreeHugger Robot
85fc58ae81 Merge "Fix potential NPE while releasing worker thread of ImageWallpaper" into qt-qpr1-dev 2020-03-11 03:01:24 +00:00
Lucas Dupin
d87fd3b56a Merge "Properly rotate cutout protection rect" into qt-qpr1-dev 2020-03-11 01:48:46 +00:00
TreeHugger Robot
ead4f22509 Merge "DO NOT MERGE: Allow corner UI to decouple from rounded_corner_radius" into qt-qpr1-dev 2020-03-11 01:22:42 +00:00
Evan Laird
9315832913 DO NOT MERGE: Allow corner UI to decouple from rounded_corner_radius
frameworks/base/core/res/res/dimens value rounded_corner_radius can
change not to reflect the actual device size due to tuning the rounding
on window corners.

This change allows us to decouple corner UI's idea of what the corner
size is from the framework dimension

Test: manual
Change-Id: I6548d74921d6e71250486984869572bdd304b0d0
2020-03-10 23:04:05 +00:00
Christopher Tate
45a53e6cb8 DO NOT MERGE - Kill apps outright for API contract violations
...rather than relying on in-app code to perform the shutdown.

Bug: 128649910
Bug: 140108616
Test: manual
Test: atest OsHostTests#testForegroundServiceBadNotification
Change-Id: I94d9de50bb03c33666471e3dbd9c721e9278f7cb
Merged-In: I94d9de50bb03c33666471e3dbd9c721e9278f7cb
2020-03-10 22:32:13 +00:00
Automerger Merge Worker
b308e9eca4 [automerger skipped] RESTRICT AUTOMERGE Create separated tasks for different apps from startActivities am: 2be3ba4973 am: 0d8b222051 am: 3a6039d59a -s ours am: 862ceca282 -s ours am: 1884cb7149
Change-Id: If64f313fdaad22d7ef1d44fa2f2d9b94a7e93039
2020-03-10 22:07:50 +00:00
Automerger Merge Worker
1884cb7149 [automerger skipped] RESTRICT AUTOMERGE Create separated tasks for different apps from startActivities am: 2be3ba4973 am: 0d8b222051 am: 3a6039d59a -s ours am: 862ceca282 -s ours
am skip reason: subject contains skip directive

Change-Id: I33d4bf8a2ca3305ea5e5271d7e60f632e7f56a6d
2020-03-10 21:54:05 +00:00
Automerger Merge Worker
862ceca282 [automerger skipped] RESTRICT AUTOMERGE Create separated tasks for different apps from startActivities am: 2be3ba4973 am: 0d8b222051 am: 3a6039d59a -s ours
am skip reason: subject contains skip directive

Change-Id: Ib426e7a1a37051c635b6a17511fc26ba90098f98
2020-03-10 21:39:22 +00:00
Lucas Dupin
7890462180 Properly rotate cutout protection rect
Test: visual
Fixes: 151054867
Change-Id: I4840e7650b30d9ce6f73c0e2ea0d0b3b47222fb4
2020-03-10 14:24:07 -07:00
Automerger Merge Worker
3a6039d59a RESTRICT AUTOMERGE Create separated tasks for different apps from startActivities am: 2be3ba4973 am: 0d8b222051
Change-Id: I5da0350eb6a1bbd5956dd5daa9b5cf0d313a711d
2020-03-10 21:21:48 +00:00
TreeHugger Robot
548c3bae81 Merge "DO NOT MERGE Add null check for status bar transitions" into qt-qpr1-dev 2020-03-10 21:20:23 +00:00
Automerger Merge Worker
0d8b222051 RESTRICT AUTOMERGE Create separated tasks for different apps from startActivities am: 2be3ba4973
Change-Id: I3429cb8f1ecd7e211ebee8ef3b739d9d4342fdad
2020-03-10 21:01:51 +00:00
Automerger Merge Worker
dca2204ab5 [automerger skipped] Merge "RESTRICT AUTOMERGE Use consistent calling uid and package in navigateUpTo" into oc-mr1-dev am: 4f486e9f0b -s ours am: 074acecf67 -s ours am: a27754f5cd
Change-Id: I9d6fa58f0ba0ecbefe678115ab2e0004afad46f4
2020-03-10 21:01:44 +00:00
Govinda Wasserman
ace57ca0df [DO NOT MERGE] Allows the Assistant to request suppression of fling
Test: Tested locally
BUG: 150688842
Change-Id: I8e8b2ccb87d9ff48d5a287f12ca9a6a2240a2cdb
2020-03-10 15:47:15 -04:00
Shuzhen Wang
e375ee8f8a Camera: Add new hidden API for camera open/close callback
The hidden API is used by SystemUI process to adjust the system UI based
on when a certain camera is opened or closed.

Test: Manually observe callbacks in SystemUI when running camera CTS
Bug: 150540299
Change-Id: I04cae782d96f0e32be8ef588dcd328f84b32887a
Merged-In: I04cae782d96f0e32be8ef588dcd328f84b32887a
2020-03-10 11:34:26 -07:00
Automerger Merge Worker
a27754f5cd [automerger skipped] Merge "RESTRICT AUTOMERGE Use consistent calling uid and package in navigateUpTo" into oc-mr1-dev am: 4f486e9f0b -s ours am: 074acecf67 -s ours
am skip reason: subject contains skip directive

Change-Id: Id393a352e2318e08a57aa8f3cd038d0057c8adaf
2020-03-10 17:47:00 +00:00
Automerger Merge Worker
074acecf67 [automerger skipped] Merge "RESTRICT AUTOMERGE Use consistent calling uid and package in navigateUpTo" into oc-mr1-dev am: 4f486e9f0b -s ours
am skip reason: subject contains skip directive

Change-Id: I25cc26ee2447031bef53ca7d950edfc1c85ea99f
2020-03-10 17:25:56 +00:00
TreeHugger Robot
4f486e9f0b Merge "RESTRICT AUTOMERGE Use consistent calling uid and package in navigateUpTo" into oc-mr1-dev 2020-03-10 17:09:54 +00:00
TreeHugger Robot
b2307f8db4 Merge "RESTRICT AUTOMERGE Use consistent calling uid and package in navigateUpTo" into qt-qpr1-dev 2020-03-10 16:07:37 +00:00
Automerger Merge Worker
e342280213 [automerger skipped] Merge "RESTRICT AUTOMERGE Create separated tasks for different apps from startActivities" into pi-dev am: d9d727b959 -s ours am: 5d7dd7b2dd
Change-Id: I20cf8aa0f71394ba848f3b961868434dffa74008
2020-03-10 15:54:34 +00:00
Automerger Merge Worker
b73ced79ec [automerger skipped] Merge "RESTRICT AUTOMERGE Create separated tasks for different apps from startActivities" into oc-mr1-dev am: 834e880978 -s ours am: da2c3df4ce -s ours am: 6e298f6477
Change-Id: I8e00dfcdb01121674b49d45ddf492b570b3cfc05
2020-03-10 15:54:16 +00:00
Automerger Merge Worker
5d7dd7b2dd [automerger skipped] Merge "RESTRICT AUTOMERGE Create separated tasks for different apps from startActivities" into pi-dev am: d9d727b959 -s ours
am skip reason: subject contains skip directive

Change-Id: I21b061b1ef684241ab60ff6da481de6e4fbb4f7c
2020-03-10 15:48:41 +00:00
TreeHugger Robot
d9d727b959 Merge "RESTRICT AUTOMERGE Create separated tasks for different apps from startActivities" into pi-dev 2020-03-10 15:44:57 +00:00
Automerger Merge Worker
6e298f6477 [automerger skipped] Merge "RESTRICT AUTOMERGE Create separated tasks for different apps from startActivities" into oc-mr1-dev am: 834e880978 -s ours am: da2c3df4ce -s ours
am skip reason: subject contains skip directive

Change-Id: Ib63aebfe756b579379b159d700fa83f5553e2d9f
2020-03-10 15:41:24 +00:00
Dave Mankoff
70db873eea Allow two finger swipes down.
Bug: 140715042
Test: atest SystemUITests
Change-Id: Iebfec76045897818cec89f588ebd1d72a782c942
2020-03-10 11:39:39 -04:00
Automerger Merge Worker
da2c3df4ce [automerger skipped] Merge "RESTRICT AUTOMERGE Create separated tasks for different apps from startActivities" into oc-mr1-dev am: 834e880978 -s ours
am skip reason: subject contains skip directive

Change-Id: I1c492a2cbc7892fbce63d45e8cf43b76b8113c07
2020-03-10 15:21:08 +00:00
TreeHugger Robot
834e880978 Merge "RESTRICT AUTOMERGE Create separated tasks for different apps from startActivities" into oc-mr1-dev 2020-03-10 15:06:13 +00:00
Riddle Hsu
973ecc619c RESTRICT AUTOMERGE Create separated tasks for different apps from startActivities
Assume there are 2 applications A, B with different uids.
There are 4 activities A1, A2, B1, B2 with default task
affinity and launch mode.

After A1 called startActivities(B1, A2, B2):
 Original   : Task(A1, B1, A2, B2)
 This Change: Task(A1, B1), Task(A2, B2)
In other words, the source caller cannot launch its activity
above the activity of other application in the same task, and
it can still launch activity of other application in its task.

Bug: 145669109
Test: run cts --test android.server.cts.StartActivityTests \
      -m CtsServicesHostTestCases
Change-Id: I97bd875146a52f62b8fe82235487ccefb2955e8e
2020-03-10 15:04:47 +00:00
Beverly
447394f908 DO NOT MERGE Add null check for status bar transitions
Test: atest SystemUITests
Bug: 150570478
Change-Id: I4c93a08ddcbe35a95b77012e2345bfa25167be1b
2020-03-09 21:27:14 +00:00
Beverly
ae242892e2 DO NOT MERGE Ignore insets on status_bar_container
- Instead, PhoneStatusBarView will take care of display cutout insets
based on the rotation of the device

Test: atest SystemUITests
Bug: 149197103
Change-Id: Ie4df9ce5c754408dcf2d50108576df42173fa17d
2020-03-09 17:26:19 -04:00
Linus Tufvesson
0bb93d4b1c RESTRICT AUTOMERGE
Block TYPE_PRESENTATION windows on default display

... and any other display that isn't considered a public presentation
display, as per Display.isPublicPresentation()

Bug: 141745510
Test: manual test via test app
Change-Id: I2aaab1903dee54190338f7b6e49888aa51437108
2020-03-09 20:57:08 +00:00
Linus Tufvesson
7d4adf4d46 RESTRICT AUTOMERGE
Block TYPE_PRESENTATION windows on default display

... and any other display that isn't considered a public presentation
display, as per Display.isPublicPresentation()

Bug: 141745510
Test: manual test via test app
Change-Id: I2aaab1903dee54190338f7b6e49888aa51437108
2020-03-09 20:54:52 +00:00
weichinweng
d61f3f9ce1 Fix bluetooth can't turn off during network reset (2/3)
Remove disable Bluetooth action from AdapterService and move to
BluetoothManagerService.
Add factory reset reason into Bluetooth enable/disable reason list.

Bug: 110181479
Test: manual
Change-Id: I4bff3c3bb75fbb0d1e13c459c0d9d3fd3b8b3195
Merged-In: I4bff3c3bb75fbb0d1e13c459c0d9d3fd3b8b3195
2020-03-09 15:35:29 +08:00
Aleks Rozman
12c8c244a6 DO NOT MERGE: Resolve mBehindAlpha with mCurrentBehindAlpha
fixes a build breakage, mBehindAlpha is a master thing but mCurrentBehindAlpha is a QPR1 thing

BUG: 151041066
Test: Compile
Change-Id: I78d767319d2ba856a9f453f71b39ddd3c96e6b9f
2020-03-08 23:14:56 +00:00
Lucas Dupin
e8788abc53 Merge "Do not accept NaN as scrim values" into qt-qpr1-dev 2020-03-07 04:34:57 +00:00
TreeHugger Robot
cf0544b022 Merge "Reset protection path on rotation" into qt-qpr1-dev 2020-03-06 23:30:18 +00:00
Lucas Dupin
7a66c7b39c Do not accept NaN as scrim values
Scrim values are becoming NaN and causing the status bar window
to not collapse.
These are inavlid values and should not be accepted.

Bug: 150672579
Test: make
Change-Id: I8217a0fa9a08f94b98121d6584fafab1bca88b4d
Merged-In: I8217a0fa9a08f94b98121d6584fafab1bca88b4d
2020-03-06 22:43:03 +00:00
Heemin Seog
140cf2c729 Merge "DO NOT MERGE Set the sensor threshold only if sensor exists" into qt-qpr1-dev 2020-03-06 22:15:42 +00:00
Evan Laird
377838b451 Reset protection path on rotation
Fixes the issue where camera cutout protection paths were accruing
rotation by not caching the unmodified path.

Fixes: 150531720
Test: manual
Change-Id: I0cece9900e86dc553401200346dc964c562b0ce0
2020-03-06 16:55:46 -05:00
Orion Hodson
1756b8ec84 Merge "Frameworks/base: Support dex2oat cpu-set system property" into qt-qpr1-dev 2020-03-06 08:50:23 +00:00
Chris Tate
f4f30312fa Merge "Revert "[automerger skipped] Merge "DO NOT MERGE - Kill apps out..."" into qt-qpr1-dev 2020-03-06 04:08:55 +00:00
Chris Tate
a9bb977a71 Revert "[automerger skipped] Merge "DO NOT MERGE - Kill apps out..."
Revert "[automerger skipped] Merge "DO NOT MERGE - Add test of f..."

Revert "DO NOT MERGE - Track framework changes to crashApplicati..."

Revert submission 10556828-am-2e2e7004e4cb4ef8b776d65e9ffe33f3

Reason for revert: Should never have automerged downstream from qt-dev; the entire topic should have been skipped.
Reverted Changes:
I241d8d8da:DO NOT MERGE - Track framework changes to crashApp...
Ib1a5695f9:[automerger skipped] Merge "DO NOT MERGE - Add tes...
I3e6eb3f5c:[automerger skipped] Merge "DO NOT MERGE - Kill ap...
Ibe4652916:DO NOT MERGE - Track framework changes to crashApp...

Change-Id: I4d73e88c87891af1540dfd95c9e9bc3c39b11531
2020-03-06 03:54:52 +00:00
Automerger Merge Worker
344eb282cc [automerger skipped] Merge "DO NOT MERGE - Kill apps outright for API contract violations" into pi-dev am: 4bcf846f7a -s ours am: a032a689a3 -s ours
am skip reason: Change-Id I94d9de50bb03c33666471e3dbd9c721e9278f7cb with SHA-1 38567a6051 is in history

Change-Id: Icb622e60f142c1ebddd1362a57293f86f6d044f8
2020-03-06 02:05:11 +00:00
Automerger Merge Worker
a032a689a3 [automerger skipped] Merge "DO NOT MERGE - Kill apps outright for API contract violations" into pi-dev am: 4bcf846f7a -s ours
am skip reason: subject contains skip directive

Change-Id: If8d5b2092fab6b618c336228be1eb80a3a95081a
2020-03-06 01:43:26 +00:00
Automerger Merge Worker
b79affb6d9 [automerger skipped] Merge "DO NOT MERGE - Kill apps outright for API contract violations" into qt-dev am: 97f5b4092a -s ours
am skip reason: Change-Id I94d9de50bb03c33666471e3dbd9c721e9278f7cb with SHA-1 874c974f73 is in history

Change-Id: I3e6eb3f5c8e3dd185f514f0e90fc551603625716
2020-03-06 01:35:03 +00:00
TreeHugger Robot
364742e712 Merge "Animate cuttout protection" into qt-qpr1-dev 2020-03-06 01:24:57 +00:00
TreeHugger Robot
4bcf846f7a Merge "DO NOT MERGE - Kill apps outright for API contract violations" into pi-dev 2020-03-06 01:24:29 +00:00