Restart the navigation bar upon change of density or font scale, then
the facet buttons of navigation bar will be scaled properly.
Test: Settings->Display->Advanced->Display size->Largest
bug: 122563094
Change-Id: I6d2d7ac4a801fac6f30bb78acee4c00ec2c4e507
Signed-off-by: Lei,RayX <rayx.lei@intel.com>
Signed-off-by: Guobin Zhang <guobin.zhang@intel.com>
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
The annotation_processors property is deprecated, replace it with
plugins, and use java_plugin for modules that provide annotation
processors.
Bug: 77284273
Test: m checkbuild
Change-Id: I467b899e0c8f2c8fa74a9bfbe6e952ad0f7aa009
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)
NotificationData.Entry -> NotificationEntry
Both NotificationData and NotificationEntry moved
`notification.collection` package.
Test: atest
Change-Id: Ia7158eb732711ddb324e514edb9884d518edab87
This method always returned NotificationGutsManager::openGuts, and only
existed so that CarSystemUI could override it to disable long presses.
In this change we accomplish this by making
NotificationStackScrollLayout injectable and providing a named flag for
whether to enable long presses or not as a dependency. This means that
NotificationEntryManager is no longer involved in handling long presses,
and CarNotificationEntryManager no longer needs to exist.
Test: atest SystemUITests, manual
Change-Id: Iae78601fea498a37ed47ef9a114e50de1652b6a8
Since we don't have status bar on external displays, we need to saparate
the logic to make some animations or transitions just work on external
navigation bars. When we set System UI visibility on an external display,
we could make the flag only effect navigation bar. Also, it can simplify
StatusBar code by moving navigation bar related fields into
NavigationBarController.
Test: atest SystemUITests
Bug: 117478341
Change-Id: I1cdf61f6eeb2c377e04a073401efa0cdb45b65cd
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)
This change introduces the NotificationInterruptionStateProvider
component, which contains all the logic around whether a notification
should heads-up or pulse previously contained in
NotificationEntryManager.
We also introduce the NotificationFilter component which extracts logic
about when to filter notifications from NotificationData, in order to
break a circular dependency that would otherwise be introduced. As part
of this, some additional fields from the notification ranking map are
denormalized on to the NotificationData.Entry object.
Test: atest SystemUITests, manually
Change-Id: Ic61edca966a3c3e0b01f1a6a9e7ce79c8701da4e
Early days as we start migration, so lots of duplication between
Dependency and dagger2, but can be removed when migration is done.
Test: existing tests.
Change-Id: I00c3da6ebbd46a26e512d8a7aa1e2b828e08f33f
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)
bug: 117220307
Test: m and install
Change-Id: I1bcfbe5075dee4ab2fb77c22e98992ce548ed970
(cherry picked from commit 015dd425c2dc626d8806be2bac6e7d927648c126)
CarSysUI can close the notification window when a notifcation launches an app
Bug: 116595026
Test: Manual
Change-Id: Ia3d59ca6b361eb5a5364dcad2e999a0fe820929e
(cherry picked from commit c3e86efd3b9dc0544c7c4a404380bb9ab57fc113)
Per API review, we deprecated the following APIs
- registerVolumeCallback(IBinder)
- unregisterVolumeCallback(IBinder)
Bug: 120629164
Test: Volume bar shows when changing volume on emulator
Change-Id: I119ac96033cdf8dc1b0cf66ef2440b4e9572157f
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)
This is a cherry pick from commit
I570ec1ed7e73520468ce4205bf06fc0ba0054792.
Test: build
Bug: 116455690
Change-Id: I4fb9ae669d2d10642ec3dbc657dbac85ca65112f
This is what was stopping the status bar from being drawn
Bug: 112265524
Bug: 114213516
Test: start the emulator with -wipe-data that created a high repo of the problem
Change-Id: I5b0807e94f9d84325b2a517348fa19956f51715b
(cherry picked from commit 94c0d8a8a3596bd54102198b18de0b9399e7ed0d)