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

Commit fefe3f68 authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android Git Automerger
Browse files

am cc43401c: am 6eef0ca5: Merge "frameworks/base: Fix to release references in...

am cc43401c: am 6eef0ca5: Merge "frameworks/base: Fix to release references in ActivityManagerService" into gingerbread

* commit 'cc43401c':
  frameworks/base: Fix to release references in ActivityManagerService
parents 8b719439 cc43401c
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -9411,6 +9411,14 @@ public final class ActivityManagerService extends ActivityManagerNative
            if (DEBUG_SERVICE) Slog.v(
                TAG, "Removed service that is not running: " + r);
        }
        if (r.bindings.size() > 0) {
            r.bindings.clear();
        }
        if (r.restarter instanceof ServiceRestarter) {
           ((ServiceRestarter)r.restarter).setService(null);
        }
    }
    ComponentName startServiceLocked(IApplicationThread caller,