diff options
author | Christopher Tate <ctate@google.com> | 2009-06-23 13:03:00 -0700 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2009-06-23 13:07:47 -0700 |
commit | 11b157790234d3d2f116ce4c7ed1d3d00fb78bc3 (patch) | |
tree | 1db558751d0c942f0c231a0de9de5965aa1d50ba /include/utils/TextOutput.h | |
parent | 2e418428987132ea66533cbc05f9c526eb59519a (diff) | |
download | frameworks_base-11b157790234d3d2f116ce4c7ed1d3d00fb78bc3.zip frameworks_base-11b157790234d3d2f116ce4c7ed1d3d00fb78bc3.tar.gz frameworks_base-11b157790234d3d2f116ce4c7ed1d3d00fb78bc3.tar.bz2 |
Add file mode to the file-backup saved state blobs
This change puts the file's access mode into the saved-state blob used by the
file backup helpers. The tests have been updated for the new blob content
format.
What this change *doesn't* do is actually backup/restore the file mode. This
change is a prerequisite for that, but mode preservation in backup/restore will
require adding metadata to the backup data stream itself, so will be approached
a bit more carefully.
(Also fixed one outright bug in the test program: ReadEntityData() had been
changed to return a ssize_t union of either a byte-count or a negative number
indicating error, but the test program was still assuming that nonzero == error,
and was spuriously failing.)
Diffstat (limited to 'include/utils/TextOutput.h')
0 files changed, 0 insertions, 0 deletions