Yuri Lin
237c8dcf4d
[automerger skipped] Merge "Use rule package name in addAutomaticZenRule; specify "android" for all system apps" into sc-dev am: 7dce594bfe -s ours am: 80d04071c0 -s ours am: 39ff7e5333 -s ours am: 1ca8706a11 -s ours am: bae38f8bb3 -s ours
...
am skip reason: Merged-In I0c4c705cfe5fc875151958957daaf8657fbc21a7 with SHA-1 12372cd9dd is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20535026
Change-Id: I35c4d58d1246b16a13873920000429aa2f5f6a32
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-01 20:21:23 +00:00
Yuri Lin
ea41576616
[automerger skipped] Use rule package name in addAutomaticZenRule; specify "android" for all system apps am: 6e34748bdc -s ours am: 7a2f4736c7 -s ours am: e6f6edf314 -s ours am: cf7c0626e3 -s ours am: 2f2cc96d76 -s ours
...
am skip reason: Merged-In I0c4c705cfe5fc875151958957daaf8657fbc21a7 with SHA-1 12372cd9dd is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20535026
Change-Id: I06492fcff1d70a3f2de85dace58a0c72ab6452cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-01 20:21:11 +00:00
Yuri Lin
b0bfde9347
[automerger skipped] Merge "Use rule package name in addAutomaticZenRule; specify "android" for all system apps" into sc-qpr1-dev am: c37b90d781 -s ours am: d54fc8c2a8 -s ours am: 9566172e21 -s ours am: 1de6117aa2 -s ours
...
am skip reason: Merged-In I0c4c705cfe5fc875151958957daaf8657fbc21a7 with SHA-1 cf692cd0de is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20532985
Change-Id: I2d473c760a68b954d311d84334b76893069cab80
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-01 20:20:44 +00:00
Yuri Lin
7c6b2ece27
[automerger skipped] Use rule package name in addAutomaticZenRule; specify "android" for all system apps am: 12372cd9dd -s ours am: 0e2bba0684 -s ours am: d10f38ce56 -s ours am: dd4c7f0792 -s ours
...
am skip reason: Merged-In I0c4c705cfe5fc875151958957daaf8657fbc21a7 with SHA-1 cf692cd0de is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20532985
Change-Id: Ibc8a87c6c5a6f524f90a633df0ee9e10fc835274
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-01 20:20:29 +00:00
Yuri Lin
8c1a2081b6
[automerger skipped] Merge "Use rule package name in addAutomaticZenRule; specify "android" for all system apps" into sc-v2-dev am: f0c48d9172 -s ours am: 5224af9c29 -s ours am: 52f87b2466 -s ours
...
am skip reason: Merged-In I0c4c705cfe5fc875151958957daaf8657fbc21a7 with SHA-1 55bc086ebf is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20511627
Change-Id: Ifd9d5e0e9878ad3880f10d8a79452102be95c86b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-01 20:19:55 +00:00
Yuri Lin
8a5de445a7
[automerger skipped] Use rule package name in addAutomaticZenRule; specify "android" for all system apps am: cf692cd0de -s ours am: 3b39ae4873 -s ours am: d6213ff9e7 -s ours
...
am skip reason: Merged-In I0c4c705cfe5fc875151958957daaf8657fbc21a7 with SHA-1 55bc086ebf is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20511627
Change-Id: Ib1f96cb090fa98b676c8cfd61c211f95bdd2ff1b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-01 20:19:42 +00:00
Yuri Lin
e7331ca53c
[conflict] Merge "Use rule package name in addAutomaticZenRule; specify "android" for all system apps" into tm-dev am: 0232c797eb am: be808625c3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20600540
Change-Id: I02c300fa04b0d08e9dc9dc7393b3496edabb38c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-01 20:19:14 +00:00
Yuri Lin
90a0e26194
[automerger skipped] Merge "Use rule package name in addAutomaticZenRule; specify "android" for all system apps" into qt-dev am: e0ddfb666d am: fb7e019e1d -s ours am: a5b0e8c2e7 -s ours am: 853c9d7bb5 -s ours am: 713824873b -s ours am: 616553ab89 -s ours am: a988aef9b8 -s ours
...
am skip reason: Merged-In I0c4c705cfe5fc875151958957daaf8657fbc21a7 with SHA-1 7e58ab94f9 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20532079
Change-Id: I71fd583624bb294539ac51ebde5157fb1449ccc4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-01 20:15:41 +00:00
Raphael Kim
dd5a3ff6e0
Ignore scheduled onDeviceGone call on simulated device if it is already no longer present.
...
Bug: 259286481
Bug: 253637009
Test: atest CtsCompanionDeviceManagerCoreTestCases
atest CtsCompanionDeviceManagerUiAutomationTestCases
Change-Id: Ia7f5eabde8879ff4f6bc5b5cc19455bbd4164ac9
Merged-In: Ia7f5eabde8879ff4f6bc5b5cc19455bbd4164ac9
(cherry picked from commit bfbf0e4b3b )
2022-12-01 19:55:57 +00:00
Yuri Lin
4ced543a5d
[automerger skipped] Merge "Use rule package name in addAutomaticZenRule; specify "android" for all system apps" into rvc-dev am: 177cff5975 -s ours am: b44e95c6a0 -s ours am: 4c144d569e -s ours am: 64c4cbbcb7 -s ours am: 55f0d8adf1 -s ours am: 2e55c7c46f -s ours
...
am skip reason: Merged-In I0c4c705cfe5fc875151958957daaf8657fbc21a7 with SHA-1 b5ec639ba2 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20527082
Change-Id: Ibe809a0b8d967828a996846fc3b27c15c30bff35
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-01 19:54:13 +00:00
Yuri Lin
23ed76a793
[automerger skipped] Use rule package name in addAutomaticZenRule; specify "android" for all system apps am: 7e58ab94f9 -s ours am: fd9c2777f6 -s ours am: 2a1d293135 -s ours am: cf47b7b163 -s ours am: 21436e4d0a -s ours am: 4b7ee95b74 -s ours
...
am skip reason: Merged-In I0c4c705cfe5fc875151958957daaf8657fbc21a7 with SHA-1 b5ec639ba2 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20527082
Change-Id: I2b69930e9026de95858947f688a32a15473d6aa0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-01 19:54:00 +00:00
Yuri Lin
7ca3ad47aa
[automerger skipped] Merge "Use rule package name in addAutomaticZenRule; specify "android" for all system apps" into rvc-qpr-dev am: e0b757e653 -s ours am: b7fb1dd4d7 -s ours am: 62dec4d801 -s ours am: e37c182f25 -s ours am: 2fe7dc1b8a -s ours
...
am skip reason: Merged-In I0c4c705cfe5fc875151958957daaf8657fbc21a7 with SHA-1 6e34748bdc is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20514843
Change-Id: I2c701ea73e202262ffbac0fe495ae51e6eb4b8fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-01 19:53:42 +00:00
Yuri Lin
f4feacd99f
[automerger skipped] Use rule package name in addAutomaticZenRule; specify "android" for all system apps am: b5ec639ba2 -s ours am: def2138262 -s ours am: 63474cc8cf -s ours am: 624a590544 -s ours am: d322fcae35 -s ours
...
am skip reason: Merged-In I0c4c705cfe5fc875151958957daaf8657fbc21a7 with SHA-1 6e34748bdc is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20514843
Change-Id: I724d2d935bea86c4054b393fd908c56563c1c351
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-01 19:53:28 +00:00
Yuri Lin
bae38f8bb3
[automerger skipped] Merge "Use rule package name in addAutomaticZenRule; specify "android" for all system apps" into sc-dev am: 7dce594bfe -s ours am: 80d04071c0 -s ours am: 39ff7e5333 -s ours am: 1ca8706a11 -s ours
...
am skip reason: Merged-In I0c4c705cfe5fc875151958957daaf8657fbc21a7 with SHA-1 12372cd9dd is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20535026
Change-Id: Ia77748285c0ae56fcdac28685125502a57c6a691
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-01 19:52:50 +00:00
Yuri Lin
2f2cc96d76
[automerger skipped] Use rule package name in addAutomaticZenRule; specify "android" for all system apps am: 6e34748bdc -s ours am: 7a2f4736c7 -s ours am: e6f6edf314 -s ours am: cf7c0626e3 -s ours
...
am skip reason: Merged-In I0c4c705cfe5fc875151958957daaf8657fbc21a7 with SHA-1 12372cd9dd is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20535026
Change-Id: I69c06e158dc4ed1a6ba3d74af14b7de60d0dc03c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-01 19:52:40 +00:00
Yuri Lin
1de6117aa2
[automerger skipped] Merge "Use rule package name in addAutomaticZenRule; specify "android" for all system apps" into sc-qpr1-dev am: c37b90d781 -s ours am: d54fc8c2a8 -s ours am: 9566172e21 -s ours
...
am skip reason: Merged-In I0c4c705cfe5fc875151958957daaf8657fbc21a7 with SHA-1 cf692cd0de is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20532985
Change-Id: I9b0c52cf2fc4c713491efd783952f521029b604a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-01 19:52:21 +00:00
Yuri Lin
dd4c7f0792
[automerger skipped] Use rule package name in addAutomaticZenRule; specify "android" for all system apps am: 12372cd9dd -s ours am: 0e2bba0684 -s ours am: d10f38ce56 -s ours
...
am skip reason: Merged-In I0c4c705cfe5fc875151958957daaf8657fbc21a7 with SHA-1 cf692cd0de is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20532985
Change-Id: Ia8e52df0d25a906e3c373cc90caa272a6f362512
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-01 19:52:13 +00:00
Yuri Lin
52f87b2466
[automerger skipped] Merge "Use rule package name in addAutomaticZenRule; specify "android" for all system apps" into sc-v2-dev am: f0c48d9172 -s ours am: 5224af9c29 -s ours
...
am skip reason: Merged-In I0c4c705cfe5fc875151958957daaf8657fbc21a7 with SHA-1 55bc086ebf is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20511627
Change-Id: I3fad2ee6572670c3091c151590492c9c74bd5ec0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-01 19:51:53 +00:00
Yuri Lin
d6213ff9e7
[automerger skipped] Use rule package name in addAutomaticZenRule; specify "android" for all system apps am: cf692cd0de -s ours am: 3b39ae4873 -s ours
...
am skip reason: Merged-In I0c4c705cfe5fc875151958957daaf8657fbc21a7 with SHA-1 55bc086ebf is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20511627
Change-Id: Idb93994fa4aa65f0abd4136caa3aecee7d1b2fd2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-01 19:51:47 +00:00
Merissa Tan
8cdd2cd068
Set caption to full width in WindowDecoration if no width is defined.
...
This CL sets the caption width to match the task bounds width if no
fixed width is defined.
Bug: None
Test: atest WMShellUnitTests:WindowDecorationTests
Change-Id: I033d0564f21974f5fdc982fba823ae42bdd9f37c
2022-12-01 11:50:54 -08:00
Yuri Lin
a988aef9b8
[automerger skipped] Merge "Use rule package name in addAutomaticZenRule; specify "android" for all system apps" into qt-dev am: e0ddfb666d am: fb7e019e1d -s ours am: a5b0e8c2e7 -s ours am: 853c9d7bb5 -s ours am: 713824873b -s ours am: 616553ab89 -s ours
...
am skip reason: Merged-In I0c4c705cfe5fc875151958957daaf8657fbc21a7 with SHA-1 7e58ab94f9 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20532079
Change-Id: Ie708b46e860cf86aac598eb65e873e91439a7b6c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-01 19:45:25 +00:00
Peter Kalauskas
7f33108dd6
Merge "Add flag for blocking binder calls in SystemUI" into tm-qpr-dev
2022-12-01 19:28:11 +00:00
Mady Mellor
a4aed0261f
Ensure the manage menu is closed when the stack collapses
...
Bug: 255908995
Test: manual - expand the bubble stack, open the manage menu, turn
off the screen
- turn on the screen and unlock
=> verify bubbles are collapsed
Change-Id: I9ae1ff43a4c64ce46e4ad8fcbefc93e79c9d7afe
2022-12-01 11:26:44 -08:00
Vinit Nayak
d424d7a00b
Merge "Ignore cropping taskbar for top app in split portrait" into tm-qpr-dev
2022-12-01 19:26:10 +00:00
Jorge Gil
fa58352464
Only bring desktop app to front when necessary
...
If the active desktops apps are already in the front, then there's
no need to add WCT#reorder operations for every desktop app.
Instead, check first whether there is an invisble app, and if there
is, reorder all apps so that the Z order is maintained.
Bug: 255344915
Bug: 258056163
Test: atest DesktopModeControllerTest
Test: manual - in desktop mode,
1. Launch Gmail
2. Launch Photos
3. Observe there is no reorder triggered anymore
Change-Id: Ib2cc8d900d1d0ccc8b9e2b49b95f1708531aa398
2022-12-01 19:20:01 +00:00
Yuri Lin
616553ab89
[automerger skipped] Merge "Use rule package name in addAutomaticZenRule; specify "android" for all system apps" into qt-dev am: e0ddfb666d am: fb7e019e1d -s ours am: a5b0e8c2e7 -s ours am: 853c9d7bb5 -s ours am: 713824873b -s ours
...
am skip reason: Merged-In I0c4c705cfe5fc875151958957daaf8657fbc21a7 with SHA-1 7e58ab94f9 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20532079
Change-Id: I4fc4b90778e4013d8dcc27cafc968a87c6c3d171
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-01 19:12:20 +00:00
Ats Jenk
091126fc7a
Only collapse stack on shade state change
...
Fixes an issue with bubble not being expanded when notification was set
to be expanded from lock screen.
Setting a notification to bubble from the notification action will add
it as a new entry in BubbleData. And that bubble will be set to
auto-expand.
When a device is locked, BubbleController receives a status bar state
change with isShade=false.
When a device is unlocked, BubbleController can receive duplicate status
bar state changes with isShade=false and will finally receive an update
with isShade=true. The isShade=true indicates device is unlocked.
Ensure that multiple duplicate status bar state changes to false do not
try to re-collapse the stack. As this would clear the expanded state for
bubbles that were updated while device was locked.
Bug: 260652751
Test: atest BubblesTest
Test: manual:
1. have a notification that is not a bubble
2. have pattern lock set and lock device
3. mark notification to be a bubble from lock screen
4. unlock device
5. observe bubble is added and expanded
6. lock device and unlock device again
7. observe stack is now collapsed
Change-Id: Ie0fdbbb3cb95c0720a00e7e25deaeb438cc51df3
2022-12-01 11:07:07 -08:00
Yuri Lin
713824873b
[automerger skipped] Merge "Use rule package name in addAutomaticZenRule; specify "android" for all system apps" into qt-dev am: e0ddfb666d am: fb7e019e1d -s ours am: a5b0e8c2e7 -s ours am: 853c9d7bb5 -s ours
...
am skip reason: Merged-In I0c4c705cfe5fc875151958957daaf8657fbc21a7 with SHA-1 7e58ab94f9 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20532079
Change-Id: I7b39ce8cd9a3a02ee10762df782b70c41c3e38cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-01 18:35:20 +00:00
Bill Yi
f1ae7fbbcf
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I5e3dbbaa8de129cd52a64ae440272605ac814718
2022-12-01 18:12:32 +00:00
Joshua McCloskey
9e3c21bae5
Fixed contrast with sfps overlay.
...
Tested various different themes
1. Choose a color in settings > wallpapers > basic colors
2. Go through enrollment
3. Verify that light/dark theme have appropriate contrast.
Test: Manually verified the contrast works for light/dark themes and
various different basic color styles.
Fixes: 243008680
Change-Id: I63900a8df21a3fe0f02e5da0db6e3b75520fce12
2022-12-01 18:07:40 +00:00
Yuri Lin
853c9d7bb5
[automerger skipped] Merge "Use rule package name in addAutomaticZenRule; specify "android" for all system apps" into qt-dev am: e0ddfb666d am: fb7e019e1d -s ours am: a5b0e8c2e7 -s ours
...
am skip reason: Merged-In I0c4c705cfe5fc875151958957daaf8657fbc21a7 with SHA-1 7e58ab94f9 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20532079
Change-Id: I6fb4937f1c44b59d86b3a3aa9a5539114043f454
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-01 18:01:33 +00:00
David Saff
669b633e9d
Clear TestableLoopers in SysuiTestCase
...
Bug: 261039202
Test: presubmit to verify this doesn't break existing tests
Test: See b/259992416 for analysis of how this improves memory pressure.
Change-Id: Ifa1b489b8dff354a29727fb61342ac9b82ec65e7
2022-12-01 12:58:50 -05:00
Chet Haase
93f2744c95
Fix activity leak bug
...
This is a cherry-pick from main branch:
ID: I7dfebac90aa43f89433f49e0ed60b3ff57bcc497
It is possible for ViewRootImpl.doDie() to be called prior to one of the
other calls which tells the system that the window is going to the
foreground. This race condition can cause an activity leak since the
ViewRootImpl in question is stored in a collection of "requestors" which
determine when to pause/resume animators for background/foreground apps.
The fix is two-fold:
- Only cause an item to be added to the "requestor" list in
AnimationHandler when doDie() has not yet been called (marked by
the mReoved" flag)
- Store the requestor objects as WeakReferences, rather than the objects
themselves. Thus if the requestor list is the only referent to the
object, it can be collected anyway, removing the leak potential.
Bug: 258616235, 258616235
Test: AnimatorLeakTest passes
Change-Id: Icdd6023f6530e3cc4b474f33dc34f6eb7400788e
Merged-in: I7dfebac90aa43f89433f49e0ed60b3ff57bcc497
2022-12-01 17:47:09 +00:00
Yuri Lin
a5b0e8c2e7
[automerger skipped] Merge "Use rule package name in addAutomaticZenRule; specify "android" for all system apps" into qt-dev am: e0ddfb666d am: fb7e019e1d -s ours
...
am skip reason: Merged-In I0c4c705cfe5fc875151958957daaf8657fbc21a7 with SHA-1 7e58ab94f9 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20532079
Change-Id: Ib8201e6401ad7d8bc62e634d585246f8beafa325
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-01 17:30:34 +00:00
Brad Hinegardner
bb3fe749a9
When in guest mode, see "Exit guest" in user switcher
...
Bug: 260404638
Test: UserSwitcherViewModel.kt added tests, manual verification
Change-Id: Iaaf1480a8bffde610063c29b32a2b7ae7187b184
2022-12-01 12:28:17 -05:00
Naomi Musgrave
1549391e56
Merge "WMS retrieves uid for the package based on the linux user" into tm-qpr-dev
2022-12-01 17:25:02 +00:00
Naomi Musgrave
2f88f7a9d8
WMS retrieves uid for the package based on the linux user
...
Without this, checking if the caller is the recents component always
fails on the secondary user.
Bug: 255480931
Test: atest WmTests:WindowManagerServiceTests
Change-Id: Iac9fea3935c3aadf29a21d8af715df845e8ea43c
Merged-In: Iac9fea3935c3aadf29a21d8af715df845e8ea43c
2022-12-01 17:23:43 +00:00
Jordan Demeulenaere
31da217d06
Fix NPE in DialogLaunchAnimator
...
This CL fixes a NPE happening in DialogLaunchAnimator if it tried to
synchronize the 2 view roots at the start/end of the animation and that
the view that triggered the animation was detached from the hierarchy.
This regression was caused by the refactoring in http://ag/20139844 .
Bug: 256194999
Test: Manual
Change-Id: Id264ddfa6365bfdc952d512c2c182b6cbf4906e4
2022-12-01 18:08:36 +01:00
Yuri Lin
fb7e019e1d
Merge "Use rule package name in addAutomaticZenRule; specify "android" for all system apps" into qt-dev am: e0ddfb666d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20532079
Change-Id: I1caa71c7cebf92403b53fae2d0dc71ae79cdb3fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-01 16:55:11 +00:00
TreeHugger Robot
6058b731b9
Merge "[SB Refactor] Add a flag to enable/disable icon debug colors." into tm-qpr-dev
2022-12-01 16:53:50 +00:00
Aaron Liu
0bb041d646
Merge "[Bouncer] destroy and recreate view when..." into tm-qpr-dev
2022-12-01 16:38:20 +00:00
Yuri Lin
e0ddfb666d
Merge "Use rule package name in addAutomaticZenRule; specify "android" for all system apps" into qt-dev
2022-12-01 16:26:52 +00:00
TreeHugger Robot
feb94ff444
Merge "isUnlockingWithFaceAllowed checks lockout state" into tm-qpr-dev
2022-12-01 16:12:34 +00:00
Nick Chameyev
2debfc7b72
Merge "[Unfold animation] Update dark vignette interpolator" into tm-qpr-dev
2022-12-01 15:48:04 +00:00
András Kurucz
e96ef6d3c7
Fix rendering issue after cancelling Notifications inside a group
...
If we return true from `offerToKeepInParentForAnimation`, the
ShadeViewDiffer won't detach this row and the view system is responsible
for ensuring the row is in eventually removed from the parent. The view
system can only guarantee this if the removal was triggered by a dismissal from the user.
The bug was a regression from ag/20291263.
Fixes: 260079710
Test: 1) post a group of notifications 2) cancel a child 3) post the
same child again (a notif with the same tag) 4) expand notif group
Test: dismiss a group of Notifications and observe the animations
Test: atest ExpandableNotificationRowControllerTest
Change-Id: Iea4032ece37e36a3f08cd6626e998717cda511c7
2022-12-01 15:30:14 +00:00
Riddle Hsu
6a8af5a689
Skip immediate hiding from finishTransition
...
It was used to solve flickering issues when dismissing split screen
and toggling pip without transition (commit 6914f08 ). But since most
of visibility changes are associated with transition, and there is
new synchronization mechanism of transaction. The immediate hiding
also doesn't make visual difference in legacy transition.
Typically, if the visibility is changed, it will schedule to call
prepareSurface, which will update surface visibility according to
isVisible().
This may reduce the latency to Activity#dispatchEnterAnimationComplete.
Also
- Initialize ActivityRecord surface as invisible so it doesn't need
to update by hide() in the first prepareSurface().
- Remove unused method onSurfaceShown.
Bug: 260059642
Test: FilesAppPerfTest#testFilesColdStartPerformance
Change-Id: Icc9efecf2f078857a448f1cbeb85c865c6c8d401
2022-12-01 23:19:51 +08:00
Caitlin Shkuratov
5793457e48
[SB Refactor] Add table logging to the wifi view model.
...
Bug: 238425913
Test: `adb shell dumpsys activity service
com.android.systemui/.SystemUIService WifiTableLog` -> dumps the icon
changes
Test: verified wifi icon still shows/hides appropriately
Test: atest WifiViewModelTest WifiViewModelIconParameterizedTest
Change-Id: Id642f31f545b96de856f4803fdd29991ef6a8f26
2022-12-01 15:10:09 +00:00
Caitlin Shkuratov
8e91950d55
[SB Refactor] Add table logging to the rest of the wifi repository.
...
Bug: 238425913
Test: `adb shell dumpsys activity service
com.android.systemui/.SystemUIService WifiTableLog` -> has logs for
enabled, default, activity
Test: atest WifiRepositoryImplTest
Change-Id: I1496b81509dc7abbce458c49102b7e83ae9b5479
2022-12-01 15:09:11 +00:00
TreeHugger Robot
cc63282bc4
Merge "Shows "App isn't installed" while tapping on Home on Tablet" into tm-qpr-dev
2022-12-01 15:07:53 +00:00
changbetty
91c8346bbc
[LE Audio] Add BT LE headset check for voice call to update the icon
...
bug: 240506858
Test: manual test
Test: atest VolumeDialogControllerImplTest
Test: atest VolumeDialogImplTest
Change-Id: Id14ccbc7d3b9343f91c2356000229a0af0e9ced3
2022-12-01 13:21:30 +00:00