Merge "Only invoke k/v helpers during k/v operations" into nyc-dev
This commit is contained in:
@@ -183,6 +183,9 @@ public class SystemBackupAgent extends BackupAgentHelper {
|
||||
|
||||
@Override
|
||||
public void onRestoreFinished() {
|
||||
mWallpaperHelper.onRestoreFinished();
|
||||
// helper will be null following 'adb restore' or other full-data operation
|
||||
if (mWallpaperHelper != null) {
|
||||
mWallpaperHelper.onRestoreFinished();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user