summaryrefslogtreecommitdiff
path: root/libs/utils/BackupData.cpp
diff options
context:
space:
mode:
author Suchi Amalapurapu <asuchitra@google.com> 2009-09-29 15:20:32 -0700
committer Suchi Amalapurapu <asuchitra@google.com> 2009-09-30 15:36:29 -0700
commit8550f255232eb4e4852466c5297fdc125887f5af (patch)
tree7c5388e75ee4f5596c7e797370bbace5cd22072a /libs/utils/BackupData.cpp
parenta33e3f79259b56b03c7912af35944f34ad190e3c (diff)
Check if rename of backed up file fails before persisting new changes.
If not these system services will end up with inconsistent settings files when the device runs out of storage. Delete mangled settings file in PackageManager if the current write fails so that we don't end up overwriting the backed up version with the mangled version Include null check when retrieving fwd locked resource for an existing package
Diffstat (limited to 'libs/utils/BackupData.cpp')
0 files changed, 0 insertions, 0 deletions