Fix missing flag on PendingIntent for Target SDK 31+

#jira UE-170743
#android
[REVIEW] [at]Jack.Porter
#rb Jack.Porter

#preflight https://horde.devtools.epicgames.com/job/637c1cf88b12eb83a79559ca

robomerge[FN_EngineMerge] -UE5-RES

[CL 23232485 by chris babcock in ue5-main branch]
This commit is contained in:
chris babcock
2022-11-22 04:20:59 -05:00
parent 30a11ed0f8
commit 333817f8ec
7 changed files with 9 additions and 9 deletions

View File

@@ -601,7 +601,7 @@ public class DownloaderActivity extends Activity implements IDownloaderClient {
PendingIntent pendingIntent = PendingIntent.getActivity(
DownloaderActivity.this,
0, intentToLaunchThisActivityFromNotification,
PendingIntent.FLAG_UPDATE_CURRENT);
PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_IMMUTABLE);
// Request to start the download
int startResult = DownloaderClientMarshaller.startDownloadServiceIfRequired(this,
pendingIntent, OBBDownloaderService.class);