Merge "DO NOT MERGE Hide the volume panel for watches for now" into klp-modular-dev
This commit is contained in:
@@ -1165,6 +1165,12 @@ public class AudioService extends IAudioService.Stub {
|
||||
streamType = AudioSystem.STREAM_NOTIFICATION;
|
||||
}
|
||||
|
||||
// Don't show the volume panel for watches yet.
|
||||
if ((mContext.getResources().getConfiguration().uiMode & Configuration.UI_MODE_TYPE_WATCH)
|
||||
== Configuration.UI_MODE_TYPE_WATCH) {
|
||||
flags &= ~AudioManager.FLAG_SHOW_UI;
|
||||
}
|
||||
|
||||
mVolumePanel.postVolumeChanged(streamType, flags);
|
||||
|
||||
if ((flags & AudioManager.FLAG_FIXED_VOLUME) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user