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

Commit 17e1d984 authored by wonyoung.lee's avatar wonyoung.lee Committed by Wonyoung Lee
Browse files

unbindBackupAgent and initialize inFullBackup

the package has full backup failed (transport rejected) and broadcast discarded by app.inFullBackup

Test: example package : com.lge.clock
      1) push txt file over 25Mb size to data/data/com.lge.clock/shared_prefs/
      2) adb shell bmgr fullbackup com.lge.clock
      3) fullbackup failed by quota_exceeded and not happened alarm receive.

Change-Id: Ic475abb0fe779757dc3d7949cf52977ab8760a04
parent f48d0bb2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -17491,6 +17491,7 @@ public final class ActivityManagerService extends ActivityManagerNative
                // Not backing this app up any more; reset its OOM adjustment
                final ProcessRecord proc = mBackupTarget.app;
                updateOomAdjLocked(proc);
                proc.inFullBackup = false;
                // If the app crashed during backup, 'thread' will be null here
                if (proc.thread != null) {