Temporarily rollback a change that's causing SetupWizard failures during restore. #2042337
Don't kill the process of the package that's being restored. This is causing a chain reaction of killing a provider needed by the setup process.
This commit is contained in:
@@ -792,11 +792,15 @@ class BackupManagerService extends IBackupManager.Stub {
|
||||
|
||||
synchronized(mClearDataLock) {
|
||||
mClearingData = true;
|
||||
/* This is causing some critical processes to be killed during setup.
|
||||
Temporarily revert this change until we find a better solution.
|
||||
try {
|
||||
mActivityManager.clearApplicationUserData(packageName, observer);
|
||||
} catch (RemoteException e) {
|
||||
// can't happen because the activity manager is in this process
|
||||
}
|
||||
*/
|
||||
mPackageManager.clearApplicationUserData(packageName, observer);
|
||||
|
||||
// only wait 10 seconds for the clear data to happen
|
||||
long timeoutMark = System.currentTimeMillis() + TIMEOUT_INTERVAL;
|
||||
|
||||
Reference in New Issue
Block a user