summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2014-12-03 17:44:17 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-12-03 17:44:18 +0000
commita2b5067aeef5b2d68a7a2f7b4edc7ee0908b5d5b (patch)
treedb4b1a0c53a697fb010a6feba69e9b2bb11250fd /include
parentabdaa32dd79c915d0e419560c8eaa64e3d946b77 (diff)
parentcb7b63d928cd562ea66d10d816056b984f50193a (diff)
downloadframeworks_base-a2b5067aeef5b2d68a7a2f7b4edc7ee0908b5d5b.zip
frameworks_base-a2b5067aeef5b2d68a7a2f7b4edc7ee0908b5d5b.tar.gz
frameworks_base-a2b5067aeef5b2d68a7a2f7b4edc7ee0908b5d5b.tar.bz2
Merge "RRO: prevent duplicate system overlays"
Diffstat (limited to 'include')
-rw-r--r--include/androidfw/AssetManager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/androidfw/AssetManager.h b/include/androidfw/AssetManager.h
index 99b3195..0cfd2b1 100644
--- a/include/androidfw/AssetManager.h
+++ b/include/androidfw/AssetManager.h
@@ -236,9 +236,11 @@ public:
private:
struct asset_path
{
+ asset_path() : path(""), type(kFileTypeRegular), idmap(""), isSystemOverlay(false) {}
String8 path;
FileType type;
String8 idmap;
+ bool isSystemOverlay;
};
Asset* openInPathLocked(const char* fileName, AccessMode mode,