History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/car/CarSystemUIFactory.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
782cd6711bc15e3f03456210b3543a67606d6591 22-Mar-2017 Jason Monk <jmonk@google.com> Create plugin interface for volume dialog

Very few logic changes, mostly just breaking out certain interfaces
and classes to the plugin lib.

Test: make + volume keys
Change-Id: Ieabc6d35f6ef980842849236a0b8ffd5543b3a2c
/frameworks/base/packages/SystemUI/src/com/android/systemui/car/CarSystemUIFactory.java
634acb9712f2627acf9279a78d120ea2da1e0464 14-Apr-2016 Yao Chen <yaochen@google.com> Add CarVolumeDialogController in SystemUI for Android Auto.

Cars usually have an external audio module. When Android is serving as
the car's headunit, users should be able to adjust the car's volume
through SystemUI. The following changes are made to make it work:

+ Load VolumeDialogController from SystemUIFactory
+ Added CarSystemUIFactory
+ Added CarVolumeDialogController which extends VolumeDialogController
and it uses CarAudioManager as source of truth for volume controls.
+ Some refactor in VolumeDialogController to make it easier for
subclasses to override volume controls.

Note that CarAudioManager does not completely replace AudioManager.
Majority of code in VolumeDialogController still applies in the car use
case, so I made CarVolumeDialogController a subclass of
VolumeDialogController instead of making them peers.

Bug: 27595951

Change-Id: Id4adec7281e41aa71f3de034e5b88a32a89be305
/frameworks/base/packages/SystemUI/src/com/android/systemui/car/CarSystemUIFactory.java