Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f4c936a7 authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android (Google) Code Review
Browse files

Merge "Fix to only do pre boot receivers on upgrade." into mnc-dev

parents 8edfe18c 505d62dd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -11495,7 +11495,7 @@ public final class ActivityManagerService extends ActivityManagerNative
            for (int i=0; i<ris.size(); i++) {
                ActivityInfo ai = ris.get(i).activityInfo;
                ComponentName comp = new ComponentName(ai.packageName, ai.name);
                if (false && lastDoneReceivers.contains(comp)) {
                if (lastDoneReceivers.contains(comp)) {
                    // We already did the pre boot receiver for this app with the current
                    // platform version, so don't do it again...
                    ris.remove(i);