Loading services/java/com/android/server/BackupManagerService.java +4 −3 Original line number Diff line number Diff line Loading @@ -2289,7 +2289,7 @@ class BackupManagerService extends IBackupManager.Stub { if (DEBUG) Log.v(TAG, "restoreAtInstall pkg=" + packageName + " token=" + Integer.toHexString(token)); if (restoreSet != 0) { if (mAutoRestore && mProvisioned && restoreSet != 0) { // okay, we're going to attempt a restore of this package from this restore set. // The eventual message back into the Package Manager to run the post-install // steps for 'token' will be issued from the restore handling code. Loading @@ -2306,8 +2306,8 @@ class BackupManagerService extends IBackupManager.Stub { restoreSet, pkg, token); mBackupHandler.sendMessage(msg); } else { // No way to attempt a restore; just tell the Package Manager to proceed // with the post-install handling for this package. // Auto-restore disabled or no way to attempt a restore; just tell the Package // Manager to proceed with the post-install handling for this package. if (DEBUG) Log.v(TAG, "No restore set -- skipping restore"); try { mPackageManagerBinder.finishPackageInstall(token); Loading Loading @@ -2484,6 +2484,7 @@ class BackupManagerService extends IBackupManager.Stub { pw.println("Backup Manager is " + (mEnabled ? "enabled" : "disabled") + " / " + (!mProvisioned ? "not " : "") + "provisioned / " + (this.mPendingInits.size() == 0 ? "not " : "") + "pending init"); pw.println("Auto-restore is " + (mAutoRestore : "enabled" : "disabled")); pw.println("Last backup pass: " + mLastBackupPass + " (now = " + System.currentTimeMillis() + ')'); pw.println(" next scheduled: " + mNextBackupPass); Loading Loading
services/java/com/android/server/BackupManagerService.java +4 −3 Original line number Diff line number Diff line Loading @@ -2289,7 +2289,7 @@ class BackupManagerService extends IBackupManager.Stub { if (DEBUG) Log.v(TAG, "restoreAtInstall pkg=" + packageName + " token=" + Integer.toHexString(token)); if (restoreSet != 0) { if (mAutoRestore && mProvisioned && restoreSet != 0) { // okay, we're going to attempt a restore of this package from this restore set. // The eventual message back into the Package Manager to run the post-install // steps for 'token' will be issued from the restore handling code. Loading @@ -2306,8 +2306,8 @@ class BackupManagerService extends IBackupManager.Stub { restoreSet, pkg, token); mBackupHandler.sendMessage(msg); } else { // No way to attempt a restore; just tell the Package Manager to proceed // with the post-install handling for this package. // Auto-restore disabled or no way to attempt a restore; just tell the Package // Manager to proceed with the post-install handling for this package. if (DEBUG) Log.v(TAG, "No restore set -- skipping restore"); try { mPackageManagerBinder.finishPackageInstall(token); Loading Loading @@ -2484,6 +2484,7 @@ class BackupManagerService extends IBackupManager.Stub { pw.println("Backup Manager is " + (mEnabled ? "enabled" : "disabled") + " / " + (!mProvisioned ? "not " : "") + "provisioned / " + (this.mPendingInits.size() == 0 ? "not " : "") + "pending init"); pw.println("Auto-restore is " + (mAutoRestore : "enabled" : "disabled")); pw.println("Last backup pass: " + mLastBackupPass + " (now = " + System.currentTimeMillis() + ')'); pw.println(" next scheduled: " + mNextBackupPass); Loading