Merge "Actually tell the widget service that restore is starting" into lmp-dev

This commit is contained in:
Christopher Tate
2014-10-08 23:31:30 +00:00
committed by Android (Google) Code Review

View File

@@ -7048,6 +7048,11 @@ if (MORE_DEBUG) Slog.v(TAG, " + got " + nRead + "; now wanting " + (size - soF
private void startRestore() {
sendStartRestore(mAcceptSet.size());
// If we're starting a full-system restore, set up to begin widget ID remapping
if (mIsSystemRestore) {
AppWidgetBackupBridge.restoreStarting(UserHandle.USER_OWNER);
}
try {
String transportDir = mTransport.transportDirName();
mStateDir = new File(mBaseStateDir, transportDir);