Merge "Make ManagedServices intents immutable" into rvc-dev

This commit is contained in:
Julia Reynolds
2020-05-01 20:01:40 +00:00
committed by Android (Google) Code Review

View File

@@ -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;