Add notification volume controller in settings
Separate notification and ring controllers based on the ring/volume stream alias boolean in config.xml. For both ring and volume controller: Not show vibrate icon when vibration is not supported on device. Show silent icon instead. Known issue: Add the notification volume slider only in Settings, and not in VolumePanelDialog. When the alias is set to false and the streams separated, the ring volume slider in VolumePanelDialog keeps its title of "Ring & notification volume" instead of changing to "Ring volume". Bug: b/38477228 Test: make DEBUG_ROBOLECTRIC=1 ROBOTEST_FILTER=NotificationVolumePreferenceControllerTest RunSettingsRoboTests -j40 make DEBUG_ROBOLECTRIC=1 ROBOTEST_FILTER=RingVolumePreferenceControllerTest RunSettingsRoboTests -j40 make DEBUG_ROBOLECTRIC=1 ROBOTEST_FILTER=SoundSettingsTest RunSettingsRoboTests Change-Id: Id17523f49b291a5cf612b90f93c3b2ab6486c62f
Loading
Please register or sign in to comment