OSDN Git Service

Single volume control when config_useMasterVolume is true
authorJaewan Kim <jaewan@google.com>
Thu, 11 Apr 2013 04:18:03 +0000 (13:18 +0900)
committerJaewan Kim <jaewan@google.com>
Thu, 16 May 2013 17:43:12 +0000 (02:43 +0900)
commit31a0a340b3280704a064d744c16472790cc76ecb
treec7a2c2629865a382d0bfc8fbb74685fe0182c2d6
parentb555cebe6366d8403cb19a8e9f8419e8c90334cf
Single volume control when config_useMasterVolume is true

If config_useMasterVolume is true, all streams are considered as the
STREAM_MASTER. Hide all volume sections except a stream because they
are actually the same in this case.

Bug: 8505295
Change-Id: I9822feaad2d43468ceb4c7fdb97da4b677995992
res/layout/preference_dialog_ringervolume.xml
src/com/android/settings/RingerVolumePreference.java