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

Commit bbe6ee06 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 1e1635a4 9a5f05b2
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2207,6 +2207,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) {