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
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
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
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
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
- move the initialization methods out of the constructor and into an init method
- @Provides that ensures the init method gets called
Bug: 155685169
Test: atest SystemUITests:BatteryControllerTest
Merged-In: I064442fcf56397ba6394ee98ccf9cc82e589a0e3
Change-Id: Ifd7a3e41714b488ed7144f2344f7488184d48951
startPreHideAnimation could be called even when the keyguard isn't
showing. This leads to some inconsistent state if we don't call
mBouncer.startPreHideAnimation.
Bug: 155706342
Test: manual (log startPreHideAnimation calls)
Change-Id: I039548a0e9a623a5e478e94490d3b695ae11d15c
Updating quicksettings intent from top navigation bar to reflect new
activity name.
Bug: 153914349
Test: manual
Change-Id: I287676f4b0f97717c3ea47433d119352f657b776
Also add a few logging statements to help track down the issue.
Bug: 155334879
Test: manual, atest CarNavigationBarTest
Change-Id: I80c264e7ec0042257bfba3feb6cce6eadced5098
Bug: 154763636
Test: manual (make sure DummyNotificationShadeWindowController is used.
This should avoid certain method calls in BiometricUnlockController
which reference phone sysui views)
Change-Id: Ib13e20a4d4cc136904f54ffc3fc16aea050552da
This change allows existing CTS tests to work properly by entering
test passwords programmatically. This is also a requirement for support-
ing back button pressed event handling.
Bug: 154829257
Test: Manual & CTS tests (atest CtsWindowManagerDeviceTestCases:KeyguardLockedTests)
Change-Id: I13db0153b792f4ef6941067dc1aa06793f033116
This addresses several issues caused by Bubbles living in the status bar window and makes it easier to address several more open bugs.
Test: atest SystemUITests
Test: manually, a lot
Fixes: 130579263
Fixes: 142075351
Fixes: 151086286
Fixes: 149473357
Bug: 150906076
Change-Id: I61594931cce55cba78e6cb1fcec440e4fec32bb0
CarKeytuardView is inflated when CarKeyguardView is first started, and
mBouncer is assigned a value onFinishInflated.
Since some of the view-related requests that reference mBouncer could be
called before that event, we need to add null checks for them.
Such a check is redundant for methods that check for mShowing, since if
mShowing is true, it is guaranteed that mBouncer is assigned a value.
Bug: 154928953
Test: Manual and Existing Unit Tests
Change-Id: I796e8bc73459df3b2a0374818556262ebc2ea237
PhoneStatusBarPolicy is a complex object with many underlying
dependencies. Lazy load until there is a better story around it.
Bug: 147455109
Test: manual (systrace)
Change-Id: I726a797f37c0816ab189a4c5f4fd5eecb0692e53
This one also includes other big dependencies like StatusBar,
NotificationShadeWindowController, ShadeController, and more.
Bug: 147455109
Test: manual (with timing from SystemUIOverlayWindowManager)
Change-Id: I7d8f1a92e66860ea278c062af873665b1b8e47b0