Commit Graph

58 Commits

Author SHA1 Message Date
Babak Bostan
d0555bba57 DO NOT MERGE Add toast message when bluetooth connects to voice recognition.
Bug: 143531081
Test: Manual
Change-Id: I342a1e5eefc59d25a8bea1c0fe72b8669bfdbe84
2020-02-27 15:51:14 -08:00
kwaky
6073f3c58b DO NOT MERGE Adjust NotificationView bottom margin based on whether Keyboard is shown.
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
2020-02-12 16:29:11 -08:00
Kamaljeet Maini
fca39a9cbe Allow customization of timeout value for expanded volume dialog
Bug: b/141850913
Test: Local build
Change-Id: Ifd25bbe7b542169b36a80cc953cf028e89826d66
2019-11-20 11:22:31 -08:00
Eric Berglund
d2b869256a DO NOT MERGE Revert "Adding scrim bubble to car's super_status_bar.xml"
This reverts commit a090fe062a.

Bug: 141383888
Test: Manual, m -j RunCarSettingsRoboTests
Change-Id: I4339d59b77ddad57fed77934cfc1b2d63de59d39
2019-11-06 10:33:57 -08:00
Kamaljeet Maini
4a1a68d36d Allow customization of display timeout value for volume dialog
Bug: b/141850913
Test: Local build
Change-Id: I571df53bc458ecbe6c7d70759aa6129501bc03f2
2019-10-31 12:35:42 -07:00
JianYang Liu
b923d1e1f0 Changed Notification shade's background alpha initial and final values
to be configurable.

Bug: 143372960
Test: manual - took before and after videos
Merged-In: Ia0b6a56859889d538e21f807a88bc5217d89e64a
Change-Id: Ia0b6a56859889d538e21f807a88bc5217d89e64a
2019-10-29 20:06:41 +00:00
Heemin Seog
1a13af51ba DO NOT MERGE Add support for unprovisioned top nav bar
Also listen for changes to user setup rather than device provisioned

Bug: 140748928
Test: manual with custom SUW apk
Change-Id: Iabab489269d3dbfafd150a919020ac7921e45768
2019-10-09 19:27:51 +00:00
jovanak
a090fe062a Adding scrim bubble to car's super_status_bar.xml
Bug: 140308332
Test: sys ui boots on hawk
Change-Id: I111a5eef67ebe599d65b96687643cf1949d6bfbe
(cherry picked from commit 481a104025)
2019-09-17 18:31:37 +00:00
Priyank Singh
3228b57d8e Status bar background color should not be transparent.
Bug: 130431689
Test: Manual
Change-Id: Ida8788f2d758eedaf5db0139f81a65402ba0b88b
2019-09-11 23:46:26 +00:00
Erin Yan
bc4b741979 Reduce the delay of showing unlock dialog to 0
Bug: 136049501
Test: Manually on IHU
Change-Id: I0016290a5181b9acba73503f938772b90f583f66
Merged-in: I0016290a5181b9acba73503f938772b90f583f66
(cherry picked from commit 13ae817be2)
2019-09-06 18:12:57 +00:00
Erin Yan
5eb60a2c0d Make unlock dialog exit if the person taps outside of the dialog
Bug: 136049501
Test: Manually on IHU
Change-Id: Iabbca72bf65b5e93aafd53296d77a88ccaaf5dfd
Merged-in: Iabbca72bf65b5e93aafd53296d77a88ccaaf5dfd
(cherry picked from commit fe3efb667f)
2019-09-06 01:52:12 +00:00
Erin Yan
8182bfd415 Create dialog to show detecting Batmobile device & unlocking
Bug: 136049501
Test: Manually on IHU
Change-Id: I47b55e3032c814623aa5bf5c5c3ec1899c03e98e
Merged-in: I47b55e3032c814623aa5bf5c5c3ec1899c03e98e
(cherry picked from commit 16258e3e98)
2019-09-05 23:24:53 +00:00
Priyank Singh
8bd920f834 When the notification shade is shown the functionality to show/hide HUN should be controlled via a config flag.
Bug:134767666
Test: Manual
Change-Id: Id8097a99e0a2424e66f171e7ed47fe3befae7f8a
2019-06-08 00:34:10 +00:00
Heemin Seog
0247f19816 Merge "Small fixes to CarSysUI Volume Dialog" into qt-dev 2019-06-03 21:17:01 +00:00
Heemin Seog
261b453a51 Merge "Make Car Navigation Bar fully transparent" into qt-dev 2019-05-31 22:19:20 +00:00
Heemin Seog
ea8b7fef7f Small fixes to CarSysUI Volume Dialog
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
2019-05-31 10:45:18 -07:00
Heemin Seog
1154d38d5c Make Car Navigation Bar fully transparent
The color behind the navigation bar should be handled by other
components (sys ui flags, decorView, etc).

Bug: 133753486
Test: atest CtsWindowManagerDeviceTestCases:EnsureBarContrastTest
Change-Id: Ibc2a0f3a6e361d14f7ba48e475d6d995c1efccf3
2019-05-30 13:20:57 -07:00
TreeHugger Robot
5a0b7e59c4 Merge "DO NOT MERGE Revert "Adding the privacy chip to the CarStatusBar"" into qt-dev 2019-05-30 19:20:20 +00:00
Priyank Singh
a6c1e6ab65 DO NOT MERGE Revert "Adding the privacy chip to the CarStatusBar"
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
2019-05-30 19:19:34 +00:00
Priyank Singh
a47b6f7c4d Make the Handle bar grabbable.
Bug: 133514822
Test: Manual
Change-Id: I4bd9ab183ac5953d1e581031832512e7a9cc17aa
2019-05-29 18:57:13 -07:00
Jonathan Koo
307bda9cfc Visual update for the unseen notification indicator.
bug: 131262206
Test: Manual Test.

Change-Id: I686598206c29670f8b31280349f1d5adbfb73dba
(cherry picked from commit 50cfe28e03a6221d047adc7ea5e983c0fa2f3c3e)
2019-05-28 08:26:08 -07:00
kwaky
35c0523cd0 Update bottom navigation bar icons in Car System UI
Test: Manual
Bug: 131860318
Change-Id: I6e56d399e34d0de146ea7403022da49bdb715388
2019-05-24 16:07:19 -07:00
TreeHugger Robot
09c5edd7a0 Merge "Adding the privacy chip to the CarStatusBar" into qt-dev 2019-05-21 23:00:41 +00:00
Priyank Singh
647f9e61ee Changes to notification shade.
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
2019-05-20 13:05:02 -07:00
John Choi
d41d7735c3 Making wifi icon point to the new status_bar_system_icon_size
This matches what core SystemUI does.

Bug: 132354163
Test: manual
Change-Id: I39b1d80077581472d884b1a159b775522516226f
2019-05-17 12:52:59 -07:00
Priyank Singh
5bd5767768 Adding the privacy chip to the CarStatusBar
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
2019-05-15 14:30:45 -07:00
Brad Stenning
44d3907b37 Change CarSystemUI notification button from launching Car Notification Center to opening the panel instead.
Bug: 130664005
Test: Manual
Change-Id: Ia32142c588d9afd42964182d2488f9b1133a5eb9
(cherry picked from commit 5b3dbcef9480ee6bedb554b48f433b18b63d6493)
2019-04-24 04:57:52 +00:00
Brad Stenning
2ccc2a4415 Move HUN car notifications into SystemUI
Bug:130664005
Test: Manual via KitchenSink

Change-Id: I4da0ce924962f82c8f4ba1168ba956833c07056a
(cherry picked from commit 93d098db9a57c47b41088f75f0eef46348f0d928)
2019-04-23 17:15:56 -07:00
Brad Stenning
3b0d7645c1 Moving Notifications into the status bar panel such that the Z layering works as expected
Bug: 129408503
Test: manual

Change-Id: I321bfe7a56cb027079a7098c99c77aa0649fd9cc
2019-03-28 21:39:34 -07:00
Arnaud Berry
bf9965f22f Merge "Remove androidx.car_car resources from SysUI" 2019-03-21 18:50:11 +00:00
Heemin Seog
50b43b7b72 Remove androidx.car_car resources from SysUI
Test: Manual
Change-Id: I7632bad7563d6639a3da9cf2a4e3456244b2d5e4
2019-03-19 12:00:17 -07:00
Heemin Seog
0d5e018ab5 Theme fixit for Car Sys UI
Notifications to use recyclerview in CarSysUI
SysUI UserSwitcher changes for PLV -> RecyclerView
Car SysUI Volume PLV -> RecyclerView

Bug: 128545260
Test: manual
Change-Id: Ic618b85d6836cfc9e4bb9b40c9ba3c0e0a96af76
2019-03-18 11:44:15 -07:00
Brad Stenning
eb6051c74e UI was being created before the provisioned stated was checked.
Test: manual
Change-Id: Ide19ed44610524d53d2336060fda3193238919b0
(cherry picked from commit 590936fe54af7a1b4746cff3f7a6f317480147ab)
2019-02-27 13:46:11 -08:00
Cassie Wang
7910fd3475 Use an implicit intent to launch Dialer
Change the explicit intent to an implicit intent to call
TelecomActivity.

Bug: 124049871
Test: Manually Tested
Change-Id: Ib513e642b99eaaab9935f2152abaf45bde486b04
2019-02-22 19:42:32 +00:00
Priyank Singh
d3d76379f4 Using the correct colors for tint from the theme. The color here comes from car_product overlay for night values.
Also, when the volume dialog is expanded or collapsed the default list item is never reset where as all other list items are removed and then added using addSeekbarListItem which sets the progressbar and the tint color for icon if changed for example, due to config change. Because of this default volume item never gets the updated value after config change.

Bug: 123541179
Test: Manual
Change-Id: I44e1db691a985410f5c5ae358ab67d1a95e45ce4
(cherry picked from commit 35306bfec84b72aad3a221852b5eb0eb1b183a43)
2019-02-06 22:42:51 +00:00
Priyank Singh
2dce35bea4 Clean up some CarSystemUI color elements so they are derived from device default.
Test: Manual
Bug: 119311195
Change-Id: I8f09f15e958e79ae491d5d0a1edffdbea83c4363
2019-01-31 20:07:21 -08:00
jovanak
18fe7f31b6 Disable automatic switching to guest.
Disabling by default until outstanding issues are resolved.

Bug: 117601534
Bug: 118756966
Bug: 117489199
Test: previously tested that using negative values in configuration disables switching to guest
Change-Id: I2e3552d4cdde0afb554dca0d6caf14de5e3efe3c
2019-01-30 11:28:53 -08:00
TreeHugger Robot
ae2c49680f Merge "Add all the needed touch listeners and gesture detectors to allow for car" 2019-01-29 22:04:43 +00:00
Brad Stenning
c622f1d6b1 Add all the needed touch listeners and gesture detectors to allow for car
Test: on car product build

Change-Id: Icc44cae87033383535d6a0ab13203afb14cf83e0
(cherry picked from commit 3f55c3502e120bacea38162ccbff94e462b009ed)
2019-01-29 11:31:56 -08:00
Amin Shaikh
d20df8ea81 Remove unused systemui resources.
Bug: 122263617
Test: mp sysuig
Change-Id: If4681826ebe87ab193f96d90720b174a32efadca
2019-01-29 09:32:10 -05:00
TreeHugger Robot
9580229981 Merge "Add the APP_MUSIC category to the media center facet button" 2019-01-24 17:58:11 +00:00
Arnaud Berry
10e7cec1e2 Add the APP_MUSIC category to the media center facet button
So that the button highlights when the radio app is active.

Test: manual
Change-Id: Ia89b8b291bda9b902cb5bb74ed214edc894763c1
(cherry picked from commit 881cf7d9e40b473ae5b381661f1f739ea7b12322)
2019-01-23 22:53:10 +00:00
Arnaud Berry
488762974f Use an implicit intent to launch the Media Center
Benefit: the launched activity isn't hard coded to MediaActivity.

Test: manual
Change-Id: I6a6a641fdb4c27a6818929cfc4138b71749999fc
(cherry picked from commit d30efbc1dbb121b8c3862e5e125cf9c5eb2a31fd)
2019-01-23 22:52:02 +00:00
Priyank Singh
523837cba9 Fixing the flickering issue when clock is clicked in status bar to open Quick Settings.
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)
2018-12-26 23:24:45 +00:00
Brad Stenning
32cedc1907 Update SysUi dependency injection to allow for a null LocalBluetoothManager
Test: emulator with automotive target
Change-Id: I487b473fe8cca28ad05ed97e1d5bb7c4b29464f2
2018-12-20 11:25:06 -08:00
Brad Stenning
4a0ca0bc13 Remove unused SystemUi service
Bug:120864177

Test: emulator
Change-Id: I7fbd818b1210f2de3d89f3c2e35fd5dcad39d657
2018-12-17 21:10:14 -08:00
Brad Stenning
fbc8a0f2d3 Clean up some CarSystemUI theme elements
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)
2018-12-17 18:37:08 +00:00
Brad Stenning
19f236a214 Add NotificationsUI SystemUI service that can display the notification
implementation for cars

Bug: 116595026
Test: manual
Change-Id: I8631e70241698aa51f94a5fdfacaea17db18841d
(cherry picked from commit 2a9907c4737b46ca0c3230a4d7f7844e4f849ce2)
2018-12-13 08:59:21 -08:00
Brad Stenning
8d1a51c4da Move car related code from SystemUI to CarSystemUI
Test: Emulator phone and Car
Change-Id: Ia64a23c1d3643899118e578b82c665c034af1c8e
2018-12-04 09:19:36 -08:00
Priaynk Singh
82b49040e5 Give navigation audio group priority over voice audio group.
As of now the voice audio group had more priority than the navigation group. Because of which navigation audio group was not shown in the Volume Dialog. This change bumps up the nav priority so it shows in the UI.

Test: Manual
Bug: 113338258

Change-Id: I98f99560867ac7e6c3ca64a07ee0608ba6f438f6
(cherry picked from commit 3d4df8345a0e3f7cd22bd7245af5686bcf9cc48c)
2018-12-03 23:12:55 +00:00