summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2012-10-04 19:10:11 -0700
committerChristopher Tate <ctate@google.com>2012-10-04 19:10:11 -0700
commit5067685ccf6c294a77a3e7f0577190600a0e6238 (patch)
tree1ffd1c4ddf0c9eb77b6087a185208aad08cf1215 /libs
parentdd2f15a563f18c9534cfa85fe2b8bf2fe100ed83 (diff)
downloadframeworks_base-5067685ccf6c294a77a3e7f0577190600a0e6238.zip
frameworks_base-5067685ccf6c294a77a3e7f0577190600a0e6238.tar.gz
frameworks_base-5067685ccf6c294a77a3e7f0577190600a0e6238.tar.bz2
Settings (and general) restore fixes
Pro tem, we ignore wifi configuration data when restoring system settings. This is not ideal, but it *does* mean we do not bounce wifi off and on again during the extended restore process, which in turn means we don't interfere with things like the Play Store's download of applications. We do continue to back up wifi configuration, and will start using that data again when the new implementation that restores AP configurations without having to bounce wifi comes to pass. Also, this CL fixes a longstanding bug in BackupDataInput.skipEntityData() that was being reproduced reliably once settings restore was skipping the wifi-related entities in the restore stream. Bug 7249405 Change-Id: I61520a9a116b66ebdf95734d09d9afd46406df01
Diffstat (limited to 'libs')
-rw-r--r--libs/androidfw/BackupData.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/androidfw/BackupData.cpp b/libs/androidfw/BackupData.cpp
index 7b1bcba..4e3b522 100644
--- a/libs/androidfw/BackupData.cpp
+++ b/libs/androidfw/BackupData.cpp
@@ -327,6 +327,7 @@ BackupDataReader::SkipEntityData()
if (pos == -1) {
return errno;
}
+ m_pos = pos;
}
SKIP_PADDING();
return NO_ERROR;