summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2016-02-17 15:29:38 -0700
committerJeff Sharkey <jsharkey@android.com>2016-02-18 10:54:11 -0700
commit2c1ba9a961d4f96c26df260ee437655ad9e7c03e (patch)
tree9e31be1e3cb94b1bd2a9cdf96f12e42e92dcfc09 /tools/aapt2/java/JavaClassGenerator.cpp
parent18026642213698fc095a9510c2431862d3a7f310 (diff)
Make BackupManager encryption aware.
Backup requires both CE and DE storage to be available, so delay spinning up the backup system until the user is unlocked, since that's when CE storage becomes available. Note that devices without FBE immediately transition USER_SYSTEM into the unlocked state, since their CE is always available. Offer to backup and restore files under both CE and DE. Since DE is effectively the same as CE, most logic is simply duplicated for now, but it could be simplified in the future. Since system apps can force their default storage location to DE, we always build explicit CE and DE paths. Add getDataDir() to give clean access to the top-level private data directory, but disclaim that apps shouldn't create files there. Bug: 26279618 Change-Id: Ic34a4b330223725db93b1d0f5c9dffc88002c61f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions