Make ManagedServices intents immutable
Test: make Fixes: 154917989 Change-Id: Ic0198a1e09408713f234cf8b901b1b117d734afb
This commit is contained in:
@@ -1312,7 +1312,7 @@ abstract public class ManagedServices {
|
||||
intent.putExtra(Intent.EXTRA_CLIENT_LABEL, mConfig.clientLabel);
|
||||
|
||||
final PendingIntent pendingIntent = PendingIntent.getActivity(
|
||||
mContext, 0, new Intent(mConfig.settingsAction), 0);
|
||||
mContext, 0, new Intent(mConfig.settingsAction), PendingIntent.FLAG_IMMUTABLE);
|
||||
intent.putExtra(Intent.EXTRA_CLIENT_INTENT, pendingIntent);
|
||||
|
||||
ApplicationInfo appInfo = null;
|
||||
|
||||
Reference in New Issue
Block a user