Merge "Only invoke k/v helpers during k/v operations" into nyc-dev
am: 157ae98762
* commit '157ae987627ce93939c40dc6f1f3913b243973ae':
Only invoke k/v helpers during k/v operations
Change-Id: I5d44469ea4b888990109872493d0f5dfb61fd375
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