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

Commit 9b94f38b authored by Vairavan Srinivasan's avatar Vairavan Srinivasan Committed by Steve Kondik
Browse files

frameworks/base: Fix to release reference to ProcessRecord

BackupRecord has a reference to ProcessRecord which isn't
cleared when the BackupAgent is unbound, fix is to release
the corresponding reference.

Change-Id: Icd352336684da80a32e672650d56c5188ac77d6c
parent ca0d5d2e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -9923,6 +9923,7 @@ public final class ActivityManagerService extends ActivityManagerNative
            }

            ProcessRecord proc = mBackupTarget.app;
            mBackupTarget.app = null;
            mBackupTarget = null;
            mBackupAppName = null;