Commit Graph

763 Commits

Author SHA1 Message Date
Heemin Seog
7ce5d42b38 Merge "Don't use flexible inset mapping yet" into rvc-dev am: c8f49d1a42 am: d0eb9121c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11871738

Change-Id: Ie88d24eed304eec9d5b02e2f30cf9ace06fabe71
2020-06-15 22:57:02 +00:00
Heemin Seog
d0eb9121c3 Merge "Don't use flexible inset mapping yet" into rvc-dev am: c8f49d1a42
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11871738

Change-Id: Ie02982162b56185b4069e109313d903726fa7fb7
2020-06-15 22:38:31 +00:00
Heemin Seog
c5dd7df61c Don't use flexible inset mapping yet
Bug: 155126599
Test: atest DialogFrameTests, atest WindowInsetsControllerTests
Change-Id: I6f5332dc605f9f73e41c41c21a11c1e09e978a14
2020-06-15 11:34:46 -07:00
Youngjun Kwak
a2c606b73b Merge "Hide UserSwitchTransitionView if it is not hidden within timeout." into rvc-dev am: d42606d7c4 am: 1f8448a087
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838963

Change-Id: I09f7e1c899bac4a7703051e4d07e58ff4264b5b1
2020-06-12 23:33:47 +00:00
Youngjun Kwak
1f8448a087 Merge "Hide UserSwitchTransitionView if it is not hidden within timeout." into rvc-dev am: d42606d7c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838963

Change-Id: Ib59325e4d9641e1e59ef23733a10336c1b4cb7fe
2020-06-12 23:14:10 +00:00
kwaky
12930e8ddc Hide UserSwitchTransitionView if it is not hidden within timeout.
This prevents being stuck in the Loading screen even if the proper
User Lifecycle event was not broadcast.

Test: Unit Tests + Manual -- Verify that the UserSwitchTransitionView is
hidden after the timeout threshold when the UserLifecycleEvent listener
is not registered.
Bug: 158705895

Change-Id: I895f04bda395bac271b01fbb414a8bf484348324
2020-06-12 14:01:24 -07:00
TreeHugger Robot
d25b02fe8a Merge "Notify window manager service that we are switching users" into rvc-dev am: 12b5186f28 am: 5b380adbfd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11821052

Change-Id: I52ffa7678fe60868032c52dcb1fa286dcf0eeb54
2020-06-12 18:32:15 +00:00
TreeHugger Robot
69a5697ee2 Merge "Notify window manager service that we are switching users" into rvc-dev am: 12b5186f28
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11821052

Change-Id: Ibc8f185b563c3f800bfbcba5882859946c85dc88
2020-06-12 18:32:03 +00:00
TreeHugger Robot
5b380adbfd Merge "Notify window manager service that we are switching users" into rvc-dev am: 12b5186f28
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11821052

Change-Id: Ifb0637f03db7e00b2165d6883c06fc6d5abc6f96
2020-06-12 18:32:00 +00:00
TreeHugger Robot
12b5186f28 Merge "Notify window manager service that we are switching users" into rvc-dev 2020-06-12 18:21:20 +00:00
Yabin Huang
d7978542f4 Merge "Update the style of navigation button" into rvc-dev am: b5ec9c4d67 am: 98d04627e4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11818599

Change-Id: Ie0410feb95df39ec27f8d4ed00d44ad36588add7
2020-06-11 19:28:43 +00:00
Yabin Huang
79246a0685 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: I57397f09c2e3205956278c66d04b4c5095a31c57
2020-06-11 19:17:29 +00:00
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
dccce63c02 Merge "Dismiss panel when requested to close system dialogs" into rvc-dev am: 8808b5a3d3 am: 4d5104df84
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11827743

Change-Id: Ie590689c4e101da124c430e1537d65fba6131a02
2020-06-11 17:16:50 +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
4a37a23cf4 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: I3f3694dab3c74b877b9edca8dd3c97d34834aa90
2020-06-11 17:16:26 +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
Heemin Seog
4e47cb8feb Notify window manager service that we are switching users
Bug: 158617677
Test: manual (try user switching on emulator)
Change-Id: Ia04e887846bce6047973d6db094e97a6515715fe
2020-06-11 08:50:08 -07:00
Youngjun Kwak
dafef9a77f Merge "Show Bouncer (Unocclude it) if Activity Dismissing Keyguard is launched while Keyguard is occluded." into rvc-dev am: 4b7fbdfb6d am: cf1afd726c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11816089

Change-Id: Ie1f74d819a4046642aef178dbd995a3124d8dddb
2020-06-11 00:23:07 +00:00
Youngjun Kwak
cf1afd726c 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: Ia945ec0ded620d958dcd6ba7674a555e57b2b8a6
2020-06-11 00:22:29 +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
d1746cca65 Merge "Add multi-user support for AutoTileManager" into rvc-d1-dev am: d75d968b46
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11574958

Change-Id: I0630a84cd8f3720dfbedd3e3f3a616459fac2041
2020-06-03 18:08:48 +00: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
eb50ccf80a Merge "Keep system bar layout stable for rtl languages" into rvc-dev am: cf3274b3ba am: a606ff29d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11708146

Change-Id: I7d6e1c0bbe8cf0cd7bf6da93ce276be6375f6411
2020-06-03 15:34:31 +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
91100edc9d 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: I70ebbe921b4d692c50ec4c4ab3da8023a7e0a8fe
2020-06-03 15:22:13 +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
aa35f232ff Merge "Add occlusion logic to OverlayViewGlobalStateController and CarKeyguardViewController" into rvc-dev am: 8920f765c9 am: 06186ca732
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11635056

Change-Id: I7e0305c3bda3bac845e92bd6f536cc62f8e9ed97
2020-06-03 04:36:15 +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
06186ca732 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: I933587da3fde8c5c0f4bfcd86d25d77d2836272f
2020-06-03 04:22:33 +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
74c957ba72 Merge "Add rotary support to the nav bar and HUN." into rvc-dev am: 16899978f4 am: 1745f17a07
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11545525

Change-Id: I3efade55589e706d513b0ef28a438daef02a2910
2020-06-03 04:04:58 +00:00
Danny Epstein
42b3446889 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: Iafd8550b95abb5a42a1a5c1c3c43015ea348e81b
2020-06-03 03:52:53 +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
TreeHugger Robot
aa46d67f7b Merge changes from topic "revert-11213348-launch-animation-leak-GIBWWKPCDE" into rvc-dev am: c98eb7aece am: 73f3a33de2
Change-Id: I6fef3c531a1dddbd427e84c022151e9f93bcdb5b
2020-05-28 01:07:27 +00:00
TreeHugger Robot
73f3a33de2 Merge changes from topic "revert-11213348-launch-animation-leak-GIBWWKPCDE" into rvc-dev am: c98eb7aece
Change-Id: Ie635e2427428563b1f061f9dd79e452b096fc5fe
2020-05-28 01:00:21 +00: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
ce6470c41c Merge "Make assistant button display the icon of the role holder application" into rvc-dev am: 0b1e87f869 am: 002a27026a
Change-Id: Ic8c99cd54751f1e05c12589058a3d1646ddda979
2020-05-26 18:02:25 +00:00
TreeHugger Robot
002a27026a Merge "Make assistant button display the icon of the role holder application" into rvc-dev am: 0b1e87f869
Change-Id: Iab6d523c6c0d195e05cbb584e20c5ae0dfa5c783
2020-05-26 17:55:26 +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