If the Keyboard is shown, then margin bottom is 0.
Otherwise, the margin is the height of the NavBar.
Bug: 149022190
Test: Manual. Verify that NotificationView's margin adjusts based on
whether keyboard or IME is shown.
Change-Id: I96c50a4d773dfac9b57ab1c15cfc59d315da4605
Also listen for changes to user setup rather than device provisioned
Bug: 140748928
Test: manual with custom SUW apk
Change-Id: Iabab489269d3dbfafd150a919020ac7921e45768
Make background transparent and makes the volume items black background.
This is to deal with some UI jank where the background appears before
the item appears.
Separated the left and right padding so that they can be overlayed
separately.
Bug: 129402464
Test: manual
Change-Id: Icff89e0858e9b6b73696082ac2fe37fd5cbcaf1c
This reverts commit 5bd5767768.
Reason for revert: We want to delete all the code related to privacy chip/indicator from Q as of now. b/132292477
Bug: 133898491
Change-Id: Ieddae7509d918ab63a5b3111e0efc623fae644b3
1. Clip the shade with the glass pane
2. Add handle bar to bottom
3. Change the background color to #DD0000
Bug: 132908271
Test: Manual
Change-Id: I577ec7132d9ad37e951e07c6f1ce3c5a2a814d90
All the files are copied from P.car. It cannot be cherrypicked as P.car contains more code in th ecl that is not needed in Q.
Bug: 123355120
Test: Manual
Change-Id: I9529c0c9ffd5b317870ee85ff8f81ee126bb6e5c
Notifications to use recyclerview in CarSysUI
SysUI UserSwitcher changes for PLV -> RecyclerView
Car SysUI Volume PLV -> RecyclerView
Bug: 128545260
Test: manual
Change-Id: Ic618b85d6836cfc9e4bb9b40c9ba3c0e0a96af76
Change the explicit intent to an implicit intent to call
TelecomActivity.
Bug: 124049871
Test: Manually Tested
Change-Id: Ib513e642b99eaaab9935f2152abaf45bde486b04
So that the button highlights when the radio app is active.
Test: manual
Change-Id: Ia89b8b291bda9b902cb5bb74ed214edc894763c1
(cherry picked from commit 881cf7d9e40b473ae5b381661f1f739ea7b12322)
Benefit: the launched activity isn't hard coded to MediaActivity.
Test: manual
Change-Id: I6a6a641fdb4c27a6818929cfc4138b71749999fc
(cherry picked from commit d30efbc1dbb121b8c3862e5e125cf9c5eb2a31fd)
Adding the flag "Intent.FLAG_ACTIVITY_SINGLE_TOP" which will stop the activity to relaunch if its already there.
Bug: 121345477
Test: Manual
Change-Id: I83f985c83d4954a722591b59fc7f6db24a923923
(cherry picked from commit a9971e07144bfa7fde5f4ae2cd602efb8ff02fec)
Also fixed the left and right nav notifications id in case someone one demos them later
Test: Manual
Bug: 119311195
Change-Id: I9a6c31d25a8eb6f6e895180c4946c14629bd668e
(cherry picked from commit 5a4a0f4bfa2ae6aabf9c86da1d59c4d72b2baecd)
Left should include left rows 1, 2, and row 2 center, and right should include rows 1, 2.
Bug: 111067116
Bug: 111353443
Test: verified crash in logs. Build, deploy, verify temperature shows / no exception in logs.
Change-Id: I5dfc79643c6e5ea12ec65905f5401a07bfe6ab9e
I also updated the notification hook to use the new NotifcationCenter
Bug:110275838
Test: on dev device and in car
Change-Id: I28d42f6d37226028602fea4ac4d8901ba587a1ce
(cherry picked from commit 4691a983e2c4aaea68c4b642cca788c0933a5e12)