We address this by removing the phone specific lifecycle view from car
sysui.
Bug: 161366224
Test: See bug for manual testing steps
Change-Id: I1309aa938f1bcc5c634a531a2eca3a45f1eb2946
- Add a FocusArea
- Add a FocusParkingView
The FocusArea's main contribution in this case is to
allow OEM customizability of the focus highlight for
the rotary feature. The UI was already in a rotary
compatible state without it (i.e. I could navigate
around even before adding this change)
BUG: 157937087
Test: manual
Change-Id: If02f9e73ca3a941fc783a63924135a2f78b12723
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
Updating quicksettings intent from top navigation bar to reflect new
activity name.
Bug: 153914349
Test: manual
Change-Id: I287676f4b0f97717c3ea47433d119352f657b776
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
fitsSystemWindows="true" has default behavior of setting padding of the
view to ensure contents don't overlay system windows. In the case of the
fullscreen user switcher, we don't need this behavior.
Bug: 150302361
Test: Manual (set lockscreen, restart, click "Cancel")
Change-Id: Ifc597c2b96862abc3283d6af1a0c2765431c71af
This change includes the following:
* Rename SystemUIPrimaryWindow to SystemUIOverlayWindow
* Create Mediator and View controller abstractions that allows
developers to easily take advantage of SystemUIOverlayWindow that is
managed by a single SystemUI Object: SystemUIOverlayWindowManager.
* Convert FullscreenUserSwitcher to take advantage of the newly added
abstractions.
Bug: 147826738
Test: Manual
Change-Id: I19825da81f8d1b1259a2ba115e0238a9ffa69e37
Merged-In: I19825da81f8d1b1259a2ba115e0238a9ffa69e37
Resolves the issue where for Car we switched back to only showing
Phone's implementation of StatusBar rather than Car's.
Bug: 148078465
Test: Manual
Change-Id: Id1b342e3b7a0e9437422c1edd221f320d52927de
This is the first step to create another new window for status bar.
Small window => TYPE_STATUS_BAR: The bar on top of screen.
Large window => TYPE_NOTIFICATION_SHADE: Anything else.
Bug: 136993073
Test: build then flash
Test: atest WmTests SystemUITests
Test: atest RegisterStatusBarResultTest InsetsFlagsTest
Manual Test:
- Bouncer can show when leave showWhenLocked activity.
- StatusBar can show when comes HUN in fullscreen mode.
- StatusBar can play enter/leave animation in fullscreen mode.
- Able to drag notification panel when bubble/glow existing.
- Switch to market launcher, and run above tests.
- Drag notification panel from launcher several times and observe it
works fine.
Change-Id: Id9f72cd0e21f01b50d57f02ea60f97c6460926b7
Currently we're using STATUS_BAR_SUB_PANEL windowing layer, but we'll
need to revisit this in the future.
Also the height is calculated by appending the height of the navigation
bar. We'll also need to discuss with the windowing team on how to get
the full height of the display using MATCH_PARENT.
Bug: 147455109
Test: manual (test that the window can hold content with a test screen)
Change-Id: I3b821ec0382515804a4ee80396f15d608467efdf
This reverts commit da13c3fd3d.
This includes a fix for the original issue - an NPE in
NotificationPanelView.
Bug: 147295216
Change-Id: Id1a71b0e30aada460a70d738c5451e21dd412a7a
Test: atest SystemUITests
Revert "NoticationPanelView now has a controller."
Revert submission 9930899-b141751146-npv-controller
Reason for revert: b/147295216
Reverted Changes:
I9a92cad63: Refactor PanelView and NotificationPanelView into ...
I454bc4790: NoticationPanelView now has a controller.
Change-Id: Iae9db40e9385e1b88bd2f5f162a5f6d53d91878d
Test: Manual - Manually verified that navigation button functionalities are working as expected.
Unit Tests
Bug: 145827784
Bug: 145604656
Change-Id: Ib8f837ba34afbb8d66092a8b851b93c50fa20b26
The controller is respnsible for knowing about the configuration values
and setting the notifications related listeners as necessary.
Bug: 143143539
Test: manual
Change-Id: Iaed21006284493f4e3f8e6f4c827b0d41780f77b
Move the logic related to navigation bar out of CarStatusBar into
StatusBar.
Note that some navigation bar logic related to notifications and
keyguard needs to stay in StatusBar for now. Will be refactored out in
separate CLs.
Bug: 142787842
Test: manual
Change-Id: Ie6bc5bccbc30aa53ea15e3f2ce19fd793bd6b38a
Test: Manual -- Navigation bars (bottom, left, and right) are rendering and functioning as they did before these changes.
App Grid and Notifications buttons are not working on the left and right navigation bars,
but I've verified that such was true before these changes,
and so it doesn't seem to be a regression caused by them.
Bug: 142509189
Change-Id: I84c526b16aa06f144a601856d5ad0052dd9c56d5
Also listen for changes to user setup rather than device provisioned
Bug: 140748928
Test: manual with custom SUW apk
Change-Id: Iabab489269d3dbfafd150a919020ac7921e45768
Phone system ui made some changes recently which require
super_status_bar to be updated.
Bug: 142274450
Test: manual (build, flash, no crashing)
Change-Id: Icf1049d0264da57d435600d607c26a612fcaeb3b