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

Commit 447aaa44 authored by Dianne Hackborn's avatar Dianne Hackborn Committed by android-build-merger
Browse files

Merge "Fix issue #62524613: Background limitation is not working as...

Merge "Fix issue #62524613: Background limitation is not working as expected..." into oc-dev am: 2b20d552 am: 216bd4fa
am: 5b7da7e6

Change-Id: I0d5ec13e77a3e215537cf8704a06ee262fda5f91
parents 60d88c04 5b7da7e6
Loading
Loading
Loading
Loading
+12 −12
Original line number Diff line number Diff line
@@ -626,6 +626,7 @@ public final class ActiveServices {
                            != ActivityManager.APP_START_MODE_NORMAL) {
                        if (stopping == null) {
                            stopping = new ArrayList<>();
                        }
                        String compName = service.name.flattenToShortString();
                        EventLogTags.writeAmStopIdleService(service.appInfo.uid, compName);
                        StringBuilder sb = new StringBuilder(64);
@@ -641,7 +642,6 @@ public final class ActiveServices {
                    }
                }
            }
            }
            if (stopping != null) {
                for (int i=stopping.size()-1; i>=0; i--) {
                    ServiceRecord service = stopping.get(i);