Commit Graph

778098 Commits

Author SHA1 Message Date
Dave Mankoff
99fedc19bb Restart SystemUI on DeviceConfig changes.
Bug: 253062545
Test: atest SystemUITests
Change-Id: I905b17a6b4ba639749d6d82d08cecc55bda422a7
2022-10-26 20:05:48 +00:00
Aaron Liu
d779fab0e6 Merge "[User Switcher] dismiss dialog appropriately." into tm-qpr-dev 2022-10-25 15:34:18 +00:00
Evan Laird
ac6d616456 Merge changes Id53733ac,I38e917cf into tm-qpr-dev
* changes:
  [Sb refactor] Move subIdFlow into its own repository
  [Status bar refactor] Implement the lookup from network type to RAT icon
2022-10-25 15:18:58 +00:00
Miranda Kephart
ff851051e5 Merge "Add profile badges to screenshot UI" into tm-qpr-dev 2022-10-25 14:47:55 +00:00
Fabian Kozynski
ea7e2c106c Merge "Fix touches in Large screen header" into tm-qpr-dev 2022-10-25 13:53:24 +00:00
Fabian Kozynski
300564f90d Merge "Make new headers flag true by default" into tm-qpr-dev 2022-10-25 13:53:24 +00:00
Riddle Hsu
b553c74619 Merge "Only set locale in config for updating locale" into tm-qpr-dev 2022-10-25 13:07:32 +00:00
Matt Pietal
1e706ca9ba Merge "[DO NOT MERGE] Migrate clock and lock icon to flows" into tm-qpr-dev 2022-10-25 11:40:19 +00:00
Chris Li
77f46df393 Merge "Fix system crash when ActivityEmbedding process died with pending events" into tm-qpr-dev 2022-10-25 09:17:33 +00:00
Chris Li
a8345a1f05 Merge "Move the ActivityEmbedding Task visibility filter to the client" into tm-qpr-dev 2022-10-25 06:05:23 +00:00
TreeHugger Robot
37840b8a91 [automerger skipped] Merge "RESTRICT AUTOMERGE Validate permission tree size on permission update" into sc-v2-dev am: f107f9a223 -s ours am: 2ce7c24f54 -s ours am: 9fff461f36 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20105669

Change-Id: I7e703c2608a196f6e4a40a6b791b6ba359c37b32
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 04:37:39 +00:00
Nate Myren
6c75f99787 [automerger skipped] RESTRICT AUTOMERGE Validate permission tree size on permission update am: 90e7b4cc40 -s ours am: bfb30ce32b -s ours am: c310ce4b78 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20105669

Change-Id: Ib9e60f23a4783a7012786faeebc1addafac2a608
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 04:37:32 +00:00
Chris Li
61ba70f1d1 Fix system crash when ActivityEmbedding process died with pending events
Before, when the organizer binder died, it will trigger TaskFragment
removal that can cause surface placement. Now, we make sure to cleanup
all pending events before removing organized TaskFragments.

Bug: 251583070
Bug: 254322068
Test: atest WmTests:TaskFragmentOrganizerControllerTest
Change-Id: Ifec6f763a7e7819c93cc28d71bd0314f3ac9ac0d
2022-10-25 04:03:04 +00:00
TreeHugger Robot
9fff461f36 [automerger skipped] Merge "RESTRICT AUTOMERGE Validate permission tree size on permission update" into sc-v2-dev am: f107f9a223 -s ours am: 2ce7c24f54 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20105669

Change-Id: I6e21738f88842ecdefe31aa151f49db82f2d8b49
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 04:01:41 +00:00
Nate Myren
c310ce4b78 [automerger skipped] RESTRICT AUTOMERGE Validate permission tree size on permission update am: 90e7b4cc40 -s ours am: bfb30ce32b -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20105669

Change-Id: Ia826548731ec89480f4a14b420e7dc2630250e45
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 04:01:39 +00:00
Chris Li
5dafb54f14 Move the ActivityEmbedding Task visibility filter to the client
Before, we only send TaskFragment info event to the client side when the
Task is visible, which may result some TaskFragments stuck in an
intermediate state. Now, we also send the info event to the client if
the app owns any visible Task, and let the client organizer to determine
if it wants to update the TaskFragments.

Bug: 251583070
Fix: 250943776
Fix: 251132298
Test: atest WMJetpackUnitTests:SplitControllerTest
Test: atest WMJetpackUnitTests:TaskFragmentContainerTest
Test: atest WmTests:TaskFragmentOrganizerControllerTest
Change-Id: I47570639c4ed4bdfb4202f65ba4531adbd4a2d2d
2022-10-25 03:53:48 +00:00
Yunfan Chen
f58e5c1683 Merge "Clear cached override frame when window removed" into tm-qpr-dev 2022-10-25 03:37:49 +00:00
TreeHugger Robot
2ce7c24f54 [automerger skipped] Merge "RESTRICT AUTOMERGE Validate permission tree size on permission update" into sc-v2-dev am: f107f9a223 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20105669

Change-Id: I7d44ebd8e278f367243743c14c3f891b0f234418
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 03:25:30 +00:00
Nate Myren
bfb30ce32b [automerger skipped] RESTRICT AUTOMERGE Validate permission tree size on permission update am: 90e7b4cc40 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20105669

Change-Id: I59f8dab8b70bd51ca78f0cb6b7e5c6d097a99aab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-25 03:25:02 +00:00
Yining Liu
90e8476e3c Merge changes from topic "b244522899_fix_notify_height_with_bubble" into tm-qpr-dev
* changes:
  Add test code for `Fix the height of NotificationContentView when there's no actions but bubble button`
  Convert NotificationContentViewTest to Kotlin
2022-10-25 03:24:59 +00:00
Yining Liu
900fa741b5 Add test code for Fix the height of NotificationContentView when there's no actions but bubble button
Added function `NotificationContentView.shouldShowBubbleButton(NotificationEntry entry)` to make unit test possible. Added tests in the converted Kotlin version of NotificationContentViewTest.

Bug: 244522899
Test: `atest NotificationContentViewTest`
Change-Id: I8c34db53386dac95d52874ed250d8420ab9a1676
2022-10-25 03:24:11 +00:00
TreeHugger Robot
f107f9a223 Merge "RESTRICT AUTOMERGE Validate permission tree size on permission update" into sc-v2-dev 2022-10-25 02:52:29 +00:00
Vincent Wang
fe8b17d49d Merge "Improve the first frame latency of BP showing" into tm-qpr-dev 2022-10-25 00:31:28 +00:00
Vincent Wang
d3642c7a60 Merge "Fix UDFPS icon of Biometric Prompt has no response after rotation" into tm-qpr-dev 2022-10-25 00:31:12 +00:00
Nate Myren
313aac3cbd Merge "RESTRICT AUTOMERGE Validate permission tree size on permission update" into tm-dev am: 610482dc39 am: bdf7a94f8e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20029904

Change-Id: Ia85aea311bf7a979a36e3ca5b889d2a277e3be23
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-24 22:52:43 +00:00
Nate Myren
2983c37380 RESTRICT AUTOMERGE Validate permission tree size on permission update am: 973c67f7fc am: 5656d42578
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20029904

Change-Id: I15e87bd504e5690b7ee07fd33fb581b281142577
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-24 22:52:34 +00:00
Nate Myren
bdf7a94f8e Merge "RESTRICT AUTOMERGE Validate permission tree size on permission update" into tm-dev am: 610482dc39
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20029904

Change-Id: I894ed0f4fb9928f433a0138881bb0b3d70d04d54
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-24 22:18:29 +00:00
Nate Myren
5656d42578 RESTRICT AUTOMERGE Validate permission tree size on permission update am: 973c67f7fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20029904

Change-Id: I791f0b51840d23b983551e0716bad8806e8cd044
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-24 22:18:16 +00:00
Michael Mikhail
d9647f512a Merge "[Media TTT] Show icon on top of taskbar" into tm-qpr-dev 2022-10-24 21:45:06 +00:00
Nate Myren
610482dc39 Merge "RESTRICT AUTOMERGE Validate permission tree size on permission update" into tm-dev 2022-10-24 21:43:53 +00:00
TreeHugger Robot
db5c8259e4 Merge "Removing RemoteAnimationTargetCompat and using RemoteAnimationTarget directly" into tm-qpr-dev 2022-10-24 21:32:33 +00:00
Ats Jenk
20d8290797 Merge "Execute WCT when showDesktopApps is called" into tm-qpr-dev 2022-10-24 20:57:25 +00:00
Aaron Liu
20aec82f71 [User Switcher] dismiss dialog appropriately.
Dismisses the dialog in the phone user switcher when an action is
selected. This will dismiss the dialog when adding a user, adding a
supervised user, and going to manage users settings.

Bug: 254704051
Test: Unit tests and open phone user switcher. I spammed the buttons,
and observed that the dialog has disappeared. I switched users and
created guests.

Change-Id: Ib3929c8b7d95c5aed6da0c18c10a2c1f5793d163
2022-10-24 13:33:24 -07:00
Beverly Tai
b64614fc29 Merge "Add historical logs to AnimatableClockView" into tm-qpr-dev 2022-10-24 20:05:44 +00:00
Austin Delgado
f079495a35 Merge "Move UdfpsDisplayMode to AOSP" into tm-qpr-dev 2022-10-24 19:37:07 +00:00
Yining Liu
3650a601e7 Convert NotificationContentViewTest to Kotlin
Conversion from Java to Kotlin to enable future added tests written with Kotlin.

Bug: 244522899

Test: `atest NotificationContentViewTest`
Change-Id: Ib02c2c45682b8977004748a2a134b7520abe4a49
2022-10-24 18:58:17 +00:00
Omar Miatello
46b33d3f81 Merge "Add support for rounded notification in groups" into tm-qpr-dev 2022-10-24 18:51:07 +00:00
Lucas Dupin
6117424fe3 Merge "Keep clock below other UI elements" into tm-qpr-dev 2022-10-24 18:21:50 +00:00
Chandru S
b24b559ceb Merge "Delete FACE_SCANNING_ANIM flag from sys-ui and config" into tm-qpr-dev 2022-10-24 18:07:46 +00:00
Fabian Kozynski
513d000b0b Merge "Add exclusion rect to the BrightnessDialog slider" into tm-qpr-dev 2022-10-24 18:02:34 +00:00
Michael Mikhail
fd544fa64a Merge "Update chipbar text view in new events" into tm-qpr-dev 2022-10-24 18:02:04 +00:00
Fabian Kozynski
55cc8bfa66 Make new headers flag true by default
Test: manual
Test: atest SystemUITests
Test: PlatformScenarioTests
Test: atest CtsPermission4TestCases
Bug: 215584502
Change-Id: Ie0019d2122d77a23fe8aab7129e7f1a3ae2e7f95
2022-10-24 13:57:42 -04:00
Austin Delgado
61db48b37e Move UdfpsDisplayMode to AOSP
Bug: 246580842
Test: N/A
Change-Id: Ibf209f10e608814d1035b15299380b5eaa7632ee
Merged-In: Ibf209f10e608814d1035b15299380b5eaa7632ee
2022-10-24 10:49:23 -07:00
Sunny Goyal
f8a3e7e5f8 Removing RemoteAnimationTargetCompat and using RemoteAnimationTarget directly
Merged-In: I4497b44677a5c32bbf5dc0745559b3bc2f2efcc8
Bug: 221961069
Test: Presubmit
Change-Id: I4497b44677a5c32bbf5dc0745559b3bc2f2efcc8
2022-10-24 17:17:10 +00:00
Rahul Banerjee
23161303be Merge "Migrate RemoteInputView to Predictive Back." into tm-qpr-dev 2022-10-24 17:15:39 +00:00
Ats Jenk
da0d26e567 Merge "Limit freeform to front for freeform task launches" into tm-qpr-dev 2022-10-24 16:58:08 +00:00
Evan Laird
e6fd49588f [Sb refactor] Move subIdFlow into its own repository
This CL keeps the pattern of "MobileIcons/MobileIcon" to distinguish 2
layers of MobileConnection repositories here:
`MobileConnectionsRepository` and `MobileConnectionRepository`. This
allows us to use ad-hoc repository classes to track state from
`TelephonyManager` objects created using
`TelephonyManager#createForSubscriptionId`.

The intention now is that the top-level repository will track and cache
the child repos as needed, and remove its cache when the subscription
list changes such that they no longer track valid subIds. Downstream
observers will still have to be cleaned up via the UiAdapter, which will
close the observed data streams.

Test: atest MobileConnectionRepositoryTest
Bug: 240492102
Change-Id: Id53733ac8a84869a57133b2e0055105a716a219d
2022-10-24 12:41:48 -04:00
Evan Laird
4c52a3c37b [Status bar refactor] Implement the lookup from network type to RAT icon
This CL adds the ability to map from network type to icon used to
display the RAT indicator (LTE, 3G, etc.). This process starts by
consuming TelephonyDisplayInfo and using the SettingsLib
MobileMappings.java utilities to map all of the telephony Network Types
to TelephonyIcons.java.

1. Add an injectable MobileMappings proxy
2. Add support for generating the MobileMappings.Config class under the
   same conditions that NetworkController does.
3. Thread all of the mobile mappings to the MobileIconGroup in
   MobileIconViewModel
4. A bunch of tests

Test: atest MobileIconInteractorTest
Bug: 240492102
Change-Id: I38e917cfa1c98bd86258061defa89cc8705816e0
2022-10-24 12:38:49 -04:00
Aurélien Pomini
eca2762da7 Move canvas WallpaperEngine to droidFood
Bug: 243402530
Test: no new logic is added
Change-Id: I945b56a0a83df3c180aecf26a915e11fdd30c774
2022-10-24 16:26:17 +00:00
Ats Jenk
53a1493396 Execute WCT when showDesktopApps is called
When shell transitions were enabled, we were not exeucting the WCT that
brings desktop apps to front.
Ensure that this is called when shell transitions are enabled.

Bug: 254738174
Test: atest DesktopModeControllerTest
Change-Id: Ie8391867a1d89ecdab7cbd5afd8cd80ecdc5b78c
2022-10-24 09:19:06 -07:00