Merge "Fix restore from higher SDKs in SettingsBackupAgent" into pi-dev

This commit is contained in:
Anton Philippov
2018-04-11 13:08:44 +00:00
committed by Android (Google) Code Review

View File

@@ -253,6 +253,7 @@ public class SettingsBackupAgent extends BackupAgentHelper {
&& !RESTORE_FROM_HIGHER_SDK_INT_SUPPORTED_KEYS.contains(key)) {
Log.w(TAG, "Not restoring unrecognized key '"
+ key + "' from future version " + appVersionCode);
data.skipEntityData();
continue;
}