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

Commit 505d62dd authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Fix to only do pre boot receivers on upgrade.

I mistakenly checked in a change that forced us to run
pre boot receivers during every boot, which was intended to
just be temporary for testing.

Change-Id: I7890432f2d42deccef934c1503c3af4b55f59494
parent ece811da
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);