Merge "PendingIntent in MediaOutputIndicatorSlice could be Hijacked" into rvc-dev am: ecea133904
Change-Id: Ie5c4012e64d59ca64288228a6ff4d83b91fef34e
This commit is contained in:
@@ -106,6 +106,7 @@ public class MediaOutputIndicatorSlice implements CustomSliceable {
|
||||
public void onNotifyChange(Intent i) {
|
||||
final MediaController mediaController = getWorker().getActiveLocalMediaController();
|
||||
final Intent intent = new Intent()
|
||||
.setPackage(Utils.SETTINGS_PACKAGE_NAME)
|
||||
.setAction(MediaOutputSliceConstants.ACTION_MEDIA_OUTPUT)
|
||||
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
if (mediaController != null) {
|
||||
|
||||
Reference in New Issue
Block a user