Merge "Only invoke k/v helpers during k/v operations" into nyc-dev

This commit is contained in:
Chris Tate
2016-04-21 01:12:06 +00:00
committed by Android (Google) Code Review

View File

@@ -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();
}
}
}