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

Commit f73a65c2 authored by Android (Google) Code Review's avatar Android (Google) Code Review Committed by The Android Open Source Project
Browse files

am 65363830: Merge change 5854 into donut

Merge commit '65363830'

* commit '65363830':
  Run backups at background priority
parents c8855771 65363830
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -626,6 +626,9 @@ class BackupManagerService extends IBackupManager.Stub {
        public void run() {
            if (DEBUG) Log.v(TAG, "Beginning backup of " + mQueue.size() + " targets");

            // Backups run at background priority
            Process.setThreadPriority(Process.THREAD_PRIORITY_BACKGROUND);

            // The package manager doesn't have a proper <application> etc, but since
            // it's running here in the system process we can just set up its agent
            // directly and use a synthetic BackupRequest.  We always run this pass