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

Commit 25047140 authored by Martijn Coenen's avatar Martijn Coenen Committed by android-build-merger
Browse files

Merge "Clean up RemoteCallbackList when we're done with it." into pi-dev am: bbe6ee06

am: c549c7e7

Change-Id: I7ec7e84936023149cee82190b3213a4838604080
parents 94c3e1be c549c7e7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2038,6 +2038,9 @@ public class ActivityManagerService extends IActivityManager.Stub
                    }
                }
                callbacks.finishBroadcast();
                // We have to clean up the RemoteCallbackList here, because otherwise it will
                // needlessly hold the enclosed callbacks until the remote process dies.
                callbacks.kill();
            } break;
            case UPDATE_TIME_ZONE: {
                synchronized (ActivityManagerService.this) {