Commit Graph

650 Commits

Author SHA1 Message Date
Yabin Huang
98d04627e4 Merge "Update the style of navigation button" into rvc-dev am: b5ec9c4d67
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11818599

Change-Id: I3cd9c3717600e106dfffbdd928093d4a3dcf41f7
2020-06-11 19:17:21 +00:00
Yabin Huang
b5ec9c4d67 Merge "Update the style of navigation button" into rvc-dev 2020-06-11 19:14:10 +00:00
Heemin Seog
4d5104df84 Merge "Dismiss panel when requested to close system dialogs" into rvc-dev am: 8808b5a3d3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11827743

Change-Id: Icf83ebdc3a5551503a97b9bb1198ede5df3127d9
2020-06-11 17:16:31 +00:00
Heemin Seog
8808b5a3d3 Merge "Dismiss panel when requested to close system dialogs" into rvc-dev 2020-06-11 16:42:53 +00:00
Youngjun Kwak
e2002f3e76 Merge "Show Bouncer (Unocclude it) if Activity Dismissing Keyguard is launched while Keyguard is occluded." into rvc-dev am: 4b7fbdfb6d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11816089

Change-Id: Ic2d1b4f351ab0c818b1445bcef289a5a5d799ea7
2020-06-11 00:22:20 +00:00
Heemin Seog
c0379bee83 Dismiss panel when requested to close system dialogs
Bug: 158470632
Test: manual (open notif panel - adb shell am broadcast -a
android.intent.action.CLOSE_SYSTEM_DIALOGS)

Change-Id: I3c72673cd0ae7156b2078942c997f72c73019365
2020-06-10 15:32:16 -07:00
Yabin Huang
a0d6c87323 Update the style of navigation button
Make navigation button use ?android:attr/selectableItemBackground as
background, and remove unused style CarNavigationBarButtonTheme.

Bug: 155681517
Test: manual
Change-Id: I637e7a49bb68145c5c36cf1b0363113437b88212
2020-06-10 13:37:22 -07:00
kwaky
b3890939c4 Show Bouncer (Unocclude it) if Activity Dismissing Keyguard is launched
while Keyguard is occluded.

Test: android.server.wm.MultiDisplayLockedKeyguardTests passing without
flakiness (10 passes/10 attempts).
Bug: 156117648

Change-Id: I744c566433614a9de6fec3de9d4e9581472f73cf
2020-06-09 17:13:35 -07:00
Fabian Kozynski
d75d968b46 Merge "Add multi-user support for AutoTileManager" into rvc-d1-dev 2020-06-03 18:03:00 +00:00
TreeHugger Robot
a606ff29d8 Merge "Keep system bar layout stable for rtl languages" into rvc-dev am: cf3274b3ba
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11708146

Change-Id: I036bd5a72c14e983b6c8394f81edf5dfcfe49f9d
2020-06-03 15:22:19 +00:00
TreeHugger Robot
cf3274b3ba Merge "Keep system bar layout stable for rtl languages" into rvc-dev 2020-06-03 15:02:48 +00:00
TreeHugger Robot
36c1a6f6f5 Merge "Add occlusion logic to OverlayViewGlobalStateController and CarKeyguardViewController" into rvc-dev am: 8920f765c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11635056

Change-Id: I06a30492ab7d9b33368fd79d05c22feda2766739
2020-06-03 04:23:12 +00:00
TreeHugger Robot
8920f765c9 Merge "Add occlusion logic to OverlayViewGlobalStateController and CarKeyguardViewController" into rvc-dev 2020-06-03 04:12:06 +00:00
Danny Epstein
1745f17a07 Merge "Add rotary support to the nav bar and HUN." into rvc-dev am: 16899978f4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11545525

Change-Id: Ibf952632c466c6e24baed184d5597b1d5194e01c
2020-06-03 03:52:51 +00:00
kwaky
5dc67de144 Add occlusion logic to OverlayViewGlobalStateController and CarKeyguardViewController
Activity has a public API setShowWhenLocked, which, if set to true,
allows it to be shown when the device is locked, thereby "occluding"
the Keyguard.

In the Phone OS implementation, when an occluding Activity is showing,
Keyguard is temporarily dismissed and StatusBar expands.

In the AAOS implementation where SystemUI components are mounted to
the SystemUIOverlayWindow, OverlayViewGlobalStateController hides all
views mounted to it unless they are configured to be shown even during
occlusion.

Test: Unit Tests + atest CtsWindowManagerDeviceTestCases:ActivityLifecycleTopResumedStateTests#testTopPositionLaunchedOnTopOfLockScreen
Bug: 156781505
Change-Id: I8320e97a575a990ba4301729c6b0e6c86d6ef7c5
2020-06-02 19:47:13 -07:00
Heemin Seog
a0a4e6bca1 Keep system bar layout stable for rtl languages
Bug: 158026089
Test: manual
Change-Id: I604a06b496b1a0e9225a6140abef5a121ace0f49
2020-06-02 14:52:17 -07:00
Danny Epstein
5a3e17d153 Add rotary support to the nav bar and HUN.
Add a FocusParkingView to the navigation bar and the heads-up
notification window. Add a dependency on the Chassis UI library.
Make the nav buttons have a blue background, or whatever color
the OEM specifies for the focus highlight.

Test: atest com.android.systemui.car.navigationbar.CarNavigationButtonTest
Bug: 155681517
Change-Id: Ia33c7692554c15427e429ecdba3bc978224ff129
2020-06-02 12:10:52 -07:00
Robert Snoeberger
930695c352 Revert "Pass main executor to ActivityLaunchAnimator" am: 6d437dcb2b
Change-Id: I0759a08a6516c7d305e887017ff75957133c77df
2020-05-27 23:03:49 +00:00
Robert Snoeberger
6d437dcb2b Revert "Pass main executor to ActivityLaunchAnimator"
Revert "Pass main executor to ActivityLaunchAnimator"

Revert submission 11213348-launch-animation-leak

Reason for revert: Regression b/156840927
Reverted Changes:
Id43847e3d:Break strong ref to ExpandableNotificationRow
I57ffe83b7:Pass main executor to ActivityLaunchAnimator
I5bddc38ac:Pass main executor to ActivityLaunchAnimator
Fixes: b/156840927

Change-Id: I6c6bc9c9497cb2517eb1900c55d2b6e409d3e7eb
2020-05-27 21:02:17 +00:00
TreeHugger Robot
58029373ca Merge "Make assistant button display the icon of the role holder application" into rvc-dev am: 0b1e87f869
Change-Id: I626e7a1530a91d895ba2518fc72c248320d7d5d0
2020-05-26 17:55:10 +00:00
TreeHugger Robot
0b1e87f869 Merge "Make assistant button display the icon of the role holder application" into rvc-dev 2020-05-26 17:38:55 +00:00
Bill Yi
79cb20bf61 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Ifbc63b415b99f3c29505397ad49e85d0739ef7e9
2020-05-23 14:02:08 +00:00
Bill Yi
32ca0d62a0 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I9dd8e8cdd54401c03db9ba0e2ed56ed29c7f6637
2020-05-23 13:58:11 +00:00
Fabian Kozynski
31a266d5a3 Add multi-user support for AutoTileManager
Before this CL, AutoTileManager (and AutoAddTracker) would only work
"corectly" for user 0, as all the settings (read and write) were done in
user 0. This meant that tiles that got auto added as user 0 would not be
auto-added for other users. Similarly, tiles that got auto added as a
secondary user would not be auto added as user 0.

This CL makes sure that everything is done with respect to the current
user (as reported by QSTileHost).

Test: manual
Test: atest AutoTileManagerTest AutoAddTrackerTest
Bug: 154607890
Change-Id: I518334cca0a0960e0b3b74b43ac9fce4610c7bd0
Merged-In: I518334cca0a0960e0b3b74b43ac9fce4610c7bd0
(cherry picked from commit 1b5d7afb7f)
2020-05-21 18:02:20 +00:00
Roberto Perez
555acefb22 Make assistant button display the icon of the role holder application
Bug: 152335571
Test: Manual on emulator
Change-Id: Ife996a5f3fa4e7dcc403c2ec52758d56ea67a786
2020-05-20 17:18:04 -07:00
Bill Yi
501877c781 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Ie72e55af01fb15301b55f270676b9ce952256674
2020-05-20 21:59:03 +00:00
Bill Yi
e4e6afea98 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Iaa6a069b0dbfeb4001a01ae5094f0f298b161e23
2020-05-20 21:54:31 +00:00
Heemin Seog
4087415dde Merge "Modify aspects of the phone sysui which is not relevant to car sysui" into rvc-dev am: eab08c2c0f
Change-Id: I7beb62a94fdb8091179098e705f9fb4a98c880f2
2020-05-18 23:09:35 +00:00
Heemin Seog
eab08c2c0f Merge "Modify aspects of the phone sysui which is not relevant to car sysui" into rvc-dev 2020-05-15 23:48:57 +00:00
Jian-Yang Liu
bcabdfeafc Merge "Set status bar to provide top gesture insets and navigation bar to provide bottom gesture insets." into rvc-dev am: f720550d1c
Change-Id: Ic07db96ec8be8b74b184b6acc2de5d9c7f8c9730
2020-05-15 23:26:45 +00:00
Jian-Yang Liu
f720550d1c Merge "Set status bar to provide top gesture insets and navigation bar to provide bottom gesture insets." into rvc-dev 2020-05-15 23:18:22 +00:00
Youngjun Kwak
c0c8f479aa Merge "Post KeyguardGone request to main Handler so multidisplay keyguards are dismissed properly." into rvc-dev am: 7c02fa2358
Change-Id: Ib96980a65acd1d8ed90df859039438c429c4cd00
2020-05-15 22:43:52 +00:00
Youngjun Kwak
3883a6cb67 Merge "Implement UserSwitchingDialog in SystemUI mounted to OverlayWindow." into rvc-dev am: 81eefd515f
Change-Id: I2d63aed65a1c0d90fd031b8ce1e3439908fb2837
2020-05-15 22:42:54 +00:00
Youngjun Kwak
7c02fa2358 Merge "Post KeyguardGone request to main Handler so multidisplay keyguards are dismissed properly." into rvc-dev 2020-05-15 22:39:57 +00:00
Youngjun Kwak
81eefd515f Merge "Implement UserSwitchingDialog in SystemUI mounted to OverlayWindow." into rvc-dev 2020-05-15 22:38:13 +00:00
Heemin Seog
46c6324740 Merge "On reset, show keyguard if not already shown" into rvc-dev am: c8cd1ad532
Change-Id: Ide4e458e474fe7735d1cc2386205f56d75862088
2020-05-15 20:50:24 +00:00
kwaky
3911339b66 Implement UserSwitchingDialog in SystemUI mounted to OverlayWindow.
Bug: 145132885
Test: Manual + Unit Tests
Change-Id: I9eab89ddd54f9484e9bd79fc867c09ef4a17fe46
2020-05-15 13:45:37 -07:00
JianYang Liu
b99019ed5b Set status bar to provide top gesture insets and navigation bar to
provide bottom gesture insets.

Bug: 155688058
Test: atest WindowInsetsPolicyTest
Change-Id: If4d700ac1fda38da04c6ec7287aa5131cdeaebcc
2020-05-15 20:00:59 +00:00
Heemin Seog
5750c685d7 On reset, show keyguard if not already shown
This is to address an inconsistent state when the keyguard service
thinks the keyguard should be visible but the keyguard view does not.

Bug: 155706342
Bug: 156440963
Test: manual, atest ActivityLifecycleKeyguardTests
Change-Id: I566802e5d71a4ce387c9f31951ffa33be664c7b2
2020-05-15 11:28:27 -07:00
Heemin Seog
4764fba146 Modify aspects of the phone sysui which is not relevant to car sysui
Don't use phone DozeServiceHost (which refers to phone sysui views). And
don't call notifyBiometricAuthModeChanged

Bug: 156400243
Test: atest android.server.wm.lifecycle.ActivityLifecycleTopResumedStateTests
Change-Id: I37e849141cc1ffe2e9bd8b0841ac33901ff845e9
Merged-In: I37e849141cc1ffe2e9bd8b0841ac33901ff845e9
2020-05-14 15:31:54 +00:00
Agatha Man
51d3cb7417 Merge "Initialize mVolumeDialogComponent onMasterMuteChanged in VolumeUI" into rvc-dev am: b1b07971f1
Change-Id: If728a7e9deab648496bc6b41f0e22e7457c517e9
2020-05-13 19:10:24 +00:00
kwaky
ce4b7e3d43 Post KeyguardGone request to main Handler so multidisplay keyguards are
dismissed properly.

While keyguard is dismissed, onDisplayChanged is called, which calls
hiding and showing presentations. Dismissing keyguard on these
displays should be done when onDisplayChanged is done processing.

Test: Manual
Bug: 156117648
Change-Id: Ib6d2ce407aef2fee22cfec227d243650b5643c25
2020-05-13 11:49:31 -07:00
Agatha Man
b1b07971f1 Merge "Initialize mVolumeDialogComponent onMasterMuteChanged in VolumeUI" into rvc-dev 2020-05-13 18:48:36 +00:00
TreeHugger Robot
6902ab4c86 Merge "Updated CarNavigationBar to update status bar icon appearance on start." into rvc-dev am: b4f62e7fd8
Change-Id: I8d6f5ae992d8e1e6b7fe95be6d3a40a544537164
2020-05-13 03:22:10 +00:00
TreeHugger Robot
b4f62e7fd8 Merge "Updated CarNavigationBar to update status bar icon appearance on start." into rvc-dev 2020-05-13 03:03:50 +00:00
TreeHugger Robot
3124551fdf Merge "Fixed AAAPlusPlusVerifySysuiRequiredTestPropertiesTest broken by missing annotation in CarKeyguardViewControllerTest." into rvc-dev am: 1223fab4b7
Change-Id: Ic9caa250937bc99c557e52ab789c85db5d0baf63
2020-05-13 02:00:57 +00:00
TreeHugger Robot
1223fab4b7 Merge "Fixed AAAPlusPlusVerifySysuiRequiredTestPropertiesTest broken by missing annotation in CarKeyguardViewControllerTest." into rvc-dev 2020-05-13 01:46:23 +00:00
Agatha Man
eb971133ac Initialize mVolumeDialogComponent onMasterMuteChanged in VolumeUI
Bug: 156273758
Test: make CarSystemUI
Change-Id: I71952aca1f8290978086aba7e8f23b1abc396765
2020-05-12 23:52:09 +00:00
Alex Stetson
48847451be Merge "Update top bar with new settings intent" into rvc-dev am: abaab46da7
Change-Id: I359fada26fbffef8c3d786aac3a2e5b4dfc35c86
2020-05-12 19:04:49 +00:00
Youngjun Kwak
b8db569bc3 Merge "Make Keyguard window focusable so that adb shell input command registers" into rvc-dev am: a5894a7958
Change-Id: Ia3c19033af126b56f82f3da8883694effee36ab3
2020-05-12 18:54:24 +00:00