Pass Immutable flag to vr intent

ManagedApplicationService originally used MUTABLE_UNAUDITED for pending intent, change to IMMUTABLE.

Bug: 154917065

Test: build & flash

Change-Id: Idb652edba7dbfe1df11134494d58348fedab64aa
This commit is contained in:
Fiona Campbell
2021-04-08 14:38:15 +01:00
parent 375467b87a
commit 6094beedce

View File

@@ -304,7 +304,8 @@ public class ManagedApplicationService {
}
if (mSettingsAction != null) {
intent.putExtra(Intent.EXTRA_CLIENT_INTENT,
PendingIntent.getActivity(mContext, 0, new Intent(mSettingsAction), PendingIntent.FLAG_MUTABLE_UNAUDITED));
PendingIntent.getActivity(mContext, 0, new Intent(mSettingsAction),
PendingIntent.FLAG_IMMUTABLE));
}
mConnection = new ServiceConnection() {