Skip to content
Snippets Groups Projects
Commit f4781550 authored by David Lin's avatar David Lin Committed by Android (Google) Code Review
Browse files

Merge "Don't cancel PendingIntents unless the stay_stopped flag is on." into 24D1-dev

parents 240a91db 147c4d94
No related merge requests found
......@@ -4451,7 +4451,9 @@ public class ActivityManagerService extends IActivityManager.Stub
}
}
 
if (packageName == null || uninstalling || packageStateStopped) {
final boolean clearPendingIntentsForStoppedApp = (android.content.pm.Flags.stayStopped()
&& packageStateStopped);
if (packageName == null || uninstalling || clearPendingIntentsForStoppedApp) {
didSomething |= mPendingIntentController.removePendingIntentsForPackage(
packageName, userId, appId, doit);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment