Merge changes from topic "media_output_dialog" into rvc-qpr-dev
* changes: Redirect to output switcher panel to the new dialog Update rule of launching media output dialog Update OutputSwitcher from MediaOutputSlice to MediaOutputDialog in Settings Add PairNewBluetoothReceiver to launch Bluetooth pairing page
This commit is contained in:
@@ -196,11 +196,11 @@ public class RemoteVolumeGroupController extends BasePreferenceController implem
|
||||
if (TextUtils.equals(info.getId(),
|
||||
preference.getKey().substring(SWITCHER_PREFIX.length()))) {
|
||||
final Intent intent = new Intent()
|
||||
.setAction(MediaOutputSliceConstants.ACTION_MEDIA_OUTPUT)
|
||||
.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
|
||||
.setAction(MediaOutputSliceConstants.ACTION_LAUNCH_MEDIA_OUTPUT_DIALOG)
|
||||
.setPackage(MediaOutputSliceConstants.SYSTEMUI_PACKAGE_NAME)
|
||||
.putExtra(MediaOutputSliceConstants.EXTRA_PACKAGE_NAME,
|
||||
info.getClientPackageName());
|
||||
mContext.startActivity(intent);
|
||||
mContext.sendBroadcast(intent);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user