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:
@@ -126,6 +126,12 @@ public class RemoteMediaSlice implements CustomSliceable {
|
||||
+ maxVolume);
|
||||
continue;
|
||||
}
|
||||
if (!getWorker().shouldEnableVolumeSeekBar(info)) {
|
||||
// There is no disable state. We hide it directly.
|
||||
Log.d(TAG, "Unable to add Slice. " + info.getName() + ": This is a group session");
|
||||
continue;
|
||||
}
|
||||
|
||||
final CharSequence appName = Utils.getApplicationLabel(
|
||||
mContext, info.getClientPackageName());
|
||||
final CharSequence outputTitle = mContext.getString(R.string.media_output_label_title,
|
||||
|
||||
Reference in New Issue
Block a user