Revert "Add the FLAG_IMMUTABLE flag for creating a PendingIntent"
This reverts commit 334968c113
.
Reason for revert: Bug: 170280415
Change-Id: Idaa269406d6c1609c75f0dfba1f7fa9daf979101
This commit is contained in:
@@ -159,7 +159,7 @@ public class SliceBuilderUtils {
|
||||
.setClass(context, SliceBroadcastReceiver.class)
|
||||
.putExtra(EXTRA_SLICE_KEY, data.getKey());
|
||||
return PendingIntent.getBroadcast(context, 0 /* requestCode */, intent,
|
||||
PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_IMMUTABLE);
|
||||
PendingIntent.FLAG_UPDATE_CURRENT);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -167,8 +167,7 @@ public class SliceBuilderUtils {
|
||||
*/
|
||||
public static PendingIntent getContentPendingIntent(Context context, SliceData sliceData) {
|
||||
final Intent intent = getContentIntent(context, sliceData);
|
||||
return PendingIntent.getActivity(context, 0 /* requestCode */, intent,
|
||||
PendingIntent.FLAG_IMMUTABLE);
|
||||
return PendingIntent.getActivity(context, 0 /* requestCode */, intent, 0 /* flags */);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user