Add mutable flag to uninstaller pending intent
The package installer service needs to be able to send the result code back to the package installer package. Test: Compile, this change should be a no-op Fixes: 170226088 Change-Id: I9c95566a8128817cd39d8ed31ed95c96981c56f8
This commit is contained in:
@@ -339,8 +339,9 @@ public class UninstallerActivity extends Activity {
|
||||
broadcastIntent.putExtra(UninstallFinish.EXTRA_APP_LABEL, label);
|
||||
broadcastIntent.putExtra(UninstallFinish.EXTRA_UNINSTALL_ID, uninstallId);
|
||||
|
||||
PendingIntent pendingIntent = PendingIntent.getBroadcast(this, uninstallId,
|
||||
broadcastIntent, PendingIntent.FLAG_UPDATE_CURRENT);
|
||||
PendingIntent pendingIntent =
|
||||
PendingIntent.getBroadcast(this, uninstallId, broadcastIntent,
|
||||
PendingIntent.FLAG_MUTABLE | PendingIntent.FLAG_UPDATE_CURRENT);
|
||||
|
||||
NotificationManager notificationManager = getSystemService(NotificationManager.class);
|
||||
NotificationChannel uninstallingChannel = new NotificationChannel(UNINSTALLING_CHANNEL,
|
||||
|
||||
Reference in New Issue
Block a user