Not support group volume control

-Disable in Sound Settings
-Remove from Volume Panel

Bug: 189270378
Test: make -j50 RunSettingsRoboTests
Change-Id: Ie4f8be8d694b3c69dd2596a1f88fcb68789eab45
This commit is contained in:
Tim Peng
2021-06-01 13:29:42 +08:00
parent cd6c64a5c7
commit 9aaa97d5d9
3 changed files with 11 additions and 0 deletions

View File

@@ -129,6 +129,7 @@ public class RemoteVolumeGroupController extends BasePreferenceController implem
seekBarPreference.setMin(0);
seekBarPreference.setOnPreferenceChangeListener(this);
seekBarPreference.setIcon(R.drawable.ic_volume_remote);
seekBarPreference.setEnabled(mLocalMediaManager.shouldEnableVolumeSeekBar(info));
mPreferenceCategory.addPreference(seekBarPreference);
}