Winson Chung
1da53a2540
Merge "Fix flash when canceling the recents animation with a screenshot" into sc-dev
2021-06-25 22:11:04 +00:00
Winson Chung
a2eaf83a71
Fix flash when canceling the recents animation with a screenshot
...
- When canceling because of starting home, use the screenshot call to
allow Launcher to handle the cancel more cleanly
- Since the cancel+screenshot path was added, we no longer cancel
on root task order change (we just get onTaskAppeared now), it's
purely a deferred path for the runner to handle the cancel in a clean
way. So instead of having a separate animator, just add a screenshot
surface to the existing leash, and clean up everything when the
runner finishes the recents animation. This prevents the issue where
transferring the animation causes the task to be reparented from the
leash and made immediately visible (and fullscreen)
- Remove some unused code
Fixes: 185643608
Test: atest RecentsAnimationControllerTests
Test: Manually enable live-tile for 2/3 button, tap home and ensure
there's no flash
Change-Id: I57775e5df55ae80931ad02c21f190f29ffa76881
2021-06-25 22:10:45 +00:00
Lucas Dupin
201eec73fc
Merge "Fix wallpaper zoom regression" into sc-dev
2021-06-25 21:48:39 +00:00
TreeHugger Robot
f3242c1ccf
Merge "Fix side effects of trace-ipc and dumpheap commands" into rvc-dev am: 0e1054f01e am: 530bdb4290
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14982902
Change-Id: I241550663baf3eb46482fa68930690a27c238a81
2021-06-25 21:41:58 +00:00
TreeHugger Robot
64dcdac602
Merge "FileBridge: use a ByteBuffer for the temp buffer" into sc-dev
2021-06-25 21:25:40 +00:00
TreeHugger Robot
530bdb4290
Merge "Fix side effects of trace-ipc and dumpheap commands" into rvc-dev am: 0e1054f01e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14982902
Change-Id: I52cbcd6b7f63706a83e5108537699b4595c3697f
2021-06-25 21:25:28 +00:00
Joe Bolinger
d3574030f5
Merge "Delay framework lockout request until all biometrics report lockout." into sc-dev
2021-06-25 21:22:35 +00:00
TreeHugger Robot
ee82ff1fdb
[automerger skipped] Merge "DO NOT MERGE Add cross-user check for getDefaultSmsPackage()." into rvc-dev am: 6eb12245ef am: 84d09ab4d3 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14987465
Change-Id: Ice22092960a7ef6ba0320abd49ab1359009a2dc8
2021-06-25 21:10:55 +00:00
Hai Zhang
a9ffa24465
[automerger skipped] DO NOT MERGE Add cross-user check for getDefaultSmsPackage(). am: cf1bd25a37 am: 44e796e12b -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14987465
Change-Id: Ie77b64c1f7f23624dcc22c944b5aed07b95f0010
2021-06-25 21:10:39 +00:00
TreeHugger Robot
0e1054f01e
Merge "Fix side effects of trace-ipc and dumpheap commands" into rvc-dev
2021-06-25 21:09:28 +00:00
Lucas Dupin
be01e4e811
Merge "Fix issue where window would be marked as opaque" into sc-dev
2021-06-25 20:52:29 +00:00
TreeHugger Robot
84d09ab4d3
Merge "DO NOT MERGE Add cross-user check for getDefaultSmsPackage()." into rvc-dev am: 6eb12245ef
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14987465
Change-Id: If0474914844f8fc268aa58e5a82b8439ac73fb82
2021-06-25 20:52:14 +00:00
Hai Zhang
44e796e12b
DO NOT MERGE Add cross-user check for getDefaultSmsPackage(). am: cf1bd25a37
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14987465
Change-Id: I043d6f9c5b0c46ad7c926542003aa3caa1e574ee
2021-06-25 20:52:12 +00:00
TreeHugger Robot
6eb12245ef
Merge "DO NOT MERGE Add cross-user check for getDefaultSmsPackage()." into rvc-dev
2021-06-25 20:26:58 +00:00
Christopher Tate
5b8428faf8
[automerger skipped] Fix side effects of trace-ipc and dumpheap commands am: 6984eaa9f4 -s ours am: 67fcd26956 -s ours am: d5745e3249 -s ours am: 490b2477b8 -s ours am: 7ab155c97c -s ours am: 5e3e5e9177 -s ours
...
am skip reason: Merged-In Ie61ab2c3f4bfbd04de09ca99c1116d1129461e8f with SHA-1 4c0b9a5fbd is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14983170
Change-Id: I76c04a72ca9ecc5ecb2eff5b7feb7f05752382a3
2021-06-25 19:47:36 +00:00
TreeHugger Robot
31c83706b0
[automerger skipped] Merge "Fix side effects of trace-ipc and dumpheap commands" into qt-dev am: 956fe588a7 -s ours am: acfbbafa98 -s ours am: 83a085e8cc -s ours am: db8928352d -s ours
...
am skip reason: Merged-In Ie61ab2c3f4bfbd04de09ca99c1116d1129461e8f with SHA-1 4c0b9a5fbd is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14982320
Change-Id: Ic8374732f3f801598f94af91650ad4bd31ba9843
2021-06-25 19:47:19 +00:00
TreeHugger Robot
6a72ef35a7
Merge "NullPointerException when retriving wallpaper page areas" into sc-dev
2021-06-25 19:45:24 +00:00
Christopher Tate
5e3e5e9177
[automerger skipped] Fix side effects of trace-ipc and dumpheap commands am: 6984eaa9f4 -s ours am: 67fcd26956 -s ours am: d5745e3249 -s ours am: 490b2477b8 -s ours am: 7ab155c97c -s ours
...
am skip reason: Merged-In Ie61ab2c3f4bfbd04de09ca99c1116d1129461e8f with SHA-1 4c0b9a5fbd is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14983170
Change-Id: Ie5c3106cc7e3385f2397b7ad8d4619f54be092ff
2021-06-25 19:28:47 +00:00
TreeHugger Robot
db8928352d
[automerger skipped] Merge "Fix side effects of trace-ipc and dumpheap commands" into qt-dev am: 956fe588a7 -s ours am: acfbbafa98 -s ours am: 83a085e8cc -s ours
...
am skip reason: Merged-In Ie61ab2c3f4bfbd04de09ca99c1116d1129461e8f with SHA-1 4c0b9a5fbd is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14982320
Change-Id: I038cbc3c9e262835ae5c0ab2a63379efcab6a467
2021-06-25 19:28:36 +00:00
TreeHugger Robot
270922b370
Merge "Update configurable udfps haptics" into sc-dev
2021-06-25 19:12:17 +00:00
Christopher Tate
7ab155c97c
[automerger skipped] Fix side effects of trace-ipc and dumpheap commands am: 6984eaa9f4 -s ours am: 67fcd26956 -s ours am: d5745e3249 -s ours am: 490b2477b8 -s ours
...
am skip reason: Merged-In Ie61ab2c3f4bfbd04de09ca99c1116d1129461e8f with SHA-1 4c0b9a5fbd is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14983170
Change-Id: Idc3c4d490c34b399cf9a85bd42e133fade8a019f
2021-06-25 19:03:30 +00:00
TreeHugger Robot
83a085e8cc
[automerger skipped] Merge "Fix side effects of trace-ipc and dumpheap commands" into qt-dev am: 956fe588a7 -s ours am: acfbbafa98 -s ours
...
am skip reason: Merged-In Ie61ab2c3f4bfbd04de09ca99c1116d1129461e8f with SHA-1 4c0b9a5fbd is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14982320
Change-Id: Iecbe223f44c24ba9bc03347b238db87408c4673a
2021-06-25 19:03:01 +00:00
John Reck
e947e2e20a
Merge "Revert "Delete RenderProxy off of the cleaner thread"" into sc-dev
2021-06-25 19:00:24 +00:00
John Reck
f0b6921e89
Revert "Delete RenderProxy off of the cleaner thread"
...
This reverts commit da35596834 .
Bug: b/192050906
If too many RenderProxies are destroyed too quickly, we can end up jamming up the CommonPool preventing RenderThread from making progress if it's waiting on CommonPool tasks.
Change-Id: I8c324bc60891440d9b7be67961f8d5f881dc0f03
2021-06-25 18:59:47 +00:00
Christopher Tate
5256a6fdb7
[automerger skipped] Fix side effects of trace-ipc and dumpheap commands am: 4c0b9a5fbd am: 5518a714f3 am: cb8e4e8db6 am: 8ebf5ba96a am: 2b7b72968e -s ours
...
am skip reason: Merged-In Ie61ab2c3f4bfbd04de09ca99c1116d1129461e8f with SHA-1 468aeab7e7 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14982641
Change-Id: Ib9b1a4c45844028e95a4cf9b5701231e79b78d3b
2021-06-25 18:57:38 +00:00
Bill Lin
8a3c22afba
Merge "Apply itemTextAppearance for QuickSettings style" into sc-dev
2021-06-25 18:51:48 +00:00
Christopher Tate
490b2477b8
[automerger skipped] Fix side effects of trace-ipc and dumpheap commands am: 6984eaa9f4 -s ours am: 67fcd26956 -s ours am: d5745e3249 -s ours
...
am skip reason: Merged-In Ie61ab2c3f4bfbd04de09ca99c1116d1129461e8f with SHA-1 4c0b9a5fbd is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14983170
Change-Id: Id59dfe62d01bd3eb9c3c577ceec98085d8b3bf8b
2021-06-25 18:50:47 +00:00
TreeHugger Robot
acfbbafa98
[automerger skipped] Merge "Fix side effects of trace-ipc and dumpheap commands" into qt-dev am: 956fe588a7 -s ours
...
am skip reason: Merged-In Ie61ab2c3f4bfbd04de09ca99c1116d1129461e8f with SHA-1 4c0b9a5fbd is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14982320
Change-Id: I7dcce2f282e7178699b3fcee88a064774e371b0a
2021-06-25 18:50:24 +00:00
Christopher Tate
2b7b72968e
Fix side effects of trace-ipc and dumpheap commands am: 4c0b9a5fbd am: 5518a714f3 am: cb8e4e8db6 am: 8ebf5ba96a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14982641
Change-Id: I68d9405667fda149bb75532b8fd9c6f25b7485b6
2021-06-25 18:45:48 +00:00
Christopher Tate
d5745e3249
[automerger skipped] Fix side effects of trace-ipc and dumpheap commands am: 6984eaa9f4 -s ours am: 67fcd26956 -s ours
...
am skip reason: Merged-In Ie61ab2c3f4bfbd04de09ca99c1116d1129461e8f with SHA-1 4c0b9a5fbd is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14983170
Change-Id: I91d376dd33699c2977564a0fd5fcac665f1d9c39
2021-06-25 18:36:46 +00:00
TreeHugger Robot
956fe588a7
Merge "Fix side effects of trace-ipc and dumpheap commands" into qt-dev
2021-06-25 18:33:18 +00:00
Christopher Tate
8ebf5ba96a
Fix side effects of trace-ipc and dumpheap commands am: 4c0b9a5fbd am: 5518a714f3 am: cb8e4e8db6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14982641
Change-Id: I65246cca8e1b07d7005ef298505e2dd688d22ced
2021-06-25 18:26:56 +00:00
Christopher Tate
67fcd26956
[automerger skipped] Fix side effects of trace-ipc and dumpheap commands am: 6984eaa9f4 -s ours
...
am skip reason: Merged-In Ie61ab2c3f4bfbd04de09ca99c1116d1129461e8f with SHA-1 4c0b9a5fbd is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14983170
Change-Id: Iab060c6083c8a349be940c6c079e873774a849f5
2021-06-25 18:21:40 +00:00
Tim Murray
8c37737cbc
FileBridge: use a ByteBuffer for the temp buffer
...
Using a direct ByteBuffer allows the buffer to be passed to/from JNI
without intermediate copies.
Test: FileBridgeTests, apps get installed without allocation churn
Bug: 192020559
Change-Id: Ic5965c94ba14de6599af67d2e3bba33cd9996046
2021-06-25 11:14:53 -07:00
Christopher Tate
cb8e4e8db6
Fix side effects of trace-ipc and dumpheap commands am: 4c0b9a5fbd am: 5518a714f3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14982641
Change-Id: I2cd91b0de1757c122625b2535a10b5092d57d42a
2021-06-25 18:12:21 +00:00
TreeHugger Robot
c652532c05
Merge "Fix races in GHBM surface creation and usage" into sc-dev
2021-06-25 18:08:19 +00:00
Hui Yu
0cd035f9c2
[automerger skipped] Merge "BG-FGS-start while-in-use permission restriction improvement." into rvc-dev am: e51f884f6a am: 07f8164b86 -s ours
...
am skip reason: Merged-In Idc88f274c7a323d175d65bb47eca041772ae9bb7 with SHA-1 6706c1acc0 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15081994
Change-Id: I90fcb712400191b2f9be1002bdba7b1f98b1a05d
2021-06-25 17:52:05 +00:00
Jay Aliomer
bc32a51ceb
NullPointerException when retriving wallpaper page areas
...
Fixes: 191293701
Test: manual
Change-Id: I18c4d627f29848b50bb8c7dc2b4a02627ff3a89b
2021-06-25 13:50:57 -04:00
Christopher Tate
5518a714f3
Fix side effects of trace-ipc and dumpheap commands am: 4c0b9a5fbd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14982641
Change-Id: I10aa11a0945092a01a1d27c8b4cbba0b91ac37ca
2021-06-25 17:47:35 +00:00
Yi Jiang
6eac5ad95a
Merge "Changes default timeout for rotation memorization." into sc-dev
2021-06-25 17:43:32 +00:00
Hui Yu
07f8164b86
Merge "BG-FGS-start while-in-use permission restriction improvement." into rvc-dev am: e51f884f6a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15081994
Change-Id: I5a04e4b7077d8d45ff9d96e034a3823b84bf8837
2021-06-25 17:33:12 +00:00
Abhijoy Saha
0df0ed7ed8
Merge "Fix NotificationManagerServiceTest for AAOS." into sc-dev
2021-06-25 17:25:05 +00:00
Hui Yu
e51f884f6a
Merge "BG-FGS-start while-in-use permission restriction improvement." into rvc-dev
2021-06-25 17:09:50 +00:00
Lucas Dupin
6d3879525a
Fix wallpaper zoom regression
...
Zooms should happen as well when blurs are disabled
Fixes: 192087101
Test: atest NotificationShadeDepthControllerTest
Change-Id: I1c869bfda19e157259f0b4f9c9cee01aab40e6e5
2021-06-25 10:08:53 -07:00
Hui Yu
9a34b6ae27
BG-FGS-start while-in-use permission restriction improvement.
...
Foreground service started from background shall not have while-in-use
access like location/camera/microphone.
Previously we set mAllowWhileInUsePermissionInFgs only at service start
by startService() or bindService() command. But after
service start, the Service.startForeground() call may be some time later
and at that time the caller may not be in the foreground any more. This
CL will add further restriction on that.
1. If the first Service.startForeground() call is more than 10 seconds (can be
configured by DeviceConfig key "fgs_start_foreground_timeout") after the
Context.startService() call, check the service's app proc state and set
mAllowWhileInUsePermissionInFgs again.
2. At Service.stopForeground() call, mAllowWhileInUsePermissionInFgs
should be reset to false so FGS while-in-use permission is not allowed.
3. After Context.startForegroundService()(or Context.startService()) ->
Service.startForeground() -> Service.stopForeground(), the second or
more times Service.startForeground() is called, check the service's
app proc state and set mAllowWhileInUsePermissionInFgs again.
This CL is the backport of ag/Idc88f274c7a323d175d65bb47eca041772ae9bb7 from
S branch.
Bug: 183147114
Bug: 183204439
Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java#testStartForegroundTimeout
Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java#testSecondStartForeground
Change-Id: I0aca484e5a0dd051bbeac379d30b0fb4ecfa2da0
Merged-In: Idc88f274c7a323d175d65bb47eca041772ae9bb7
2021-06-25 17:06:26 +00:00
Lucas Dupin
519deb3adf
Fix issue where window would be marked as opaque
...
When launching an app, we need to keep the window marked as transparent
until the animation is over, otherwise the app window won't be visible.
Test: manual
Test: atest NotificationShadeDepthControllerTest
Test: atest ActivityLaunchAnimatorTest
Fixes: 191874111
Change-Id: Id075b802c72d99ed457ab6e2f9dd97e1bc46a01a
2021-06-25 08:32:34 -07:00
Anna Zappone
d4c591c75f
Merge "Ensure template match_parent" into sc-dev
2021-06-25 15:19:29 +00:00
Mark Renouf
82f0979e7b
Merge "Adds long screenshot support for ListView" into sc-dev
2021-06-25 14:56:49 +00:00
Chavi Weingarten
328ba5dcb3
Merge "Flush mPostDrawTransaction when WSA is torn down" into sc-dev
2021-06-25 14:33:58 +00:00
Wesley Wang
b6475f9e57
Merge "Fix ActionButtons background and ripple" into sc-dev
2021-06-25 13:37:19 +00:00