diff options
Diffstat (limited to 'libs/androidfw/include')
| -rw-r--r-- | libs/androidfw/include/androidfw/AssetManager.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/libs/androidfw/include/androidfw/AssetManager.h b/libs/androidfw/include/androidfw/AssetManager.h index becd307d114d..f1e8b9364915 100644 --- a/libs/androidfw/include/androidfw/AssetManager.h +++ b/libs/androidfw/include/androidfw/AssetManager.h @@ -202,12 +202,10 @@ public: private: struct asset_path { - asset_path() : path(""), type(kFileTypeRegular), idmap(""), - isSystemOverlay(false), isSystemAsset(false) {} + asset_path() : path(""), type(kFileTypeRegular), idmap(""), isSystemAsset(false) {} String8 path; FileType type; String8 idmap; - bool isSystemOverlay; bool isSystemAsset; }; @@ -237,9 +235,6 @@ private: Asset* openIdmapLocked(const struct asset_path& ap) const; - void addSystemOverlays(const char* pathOverlaysList, const String8& targetPackagePath, - ResTable* sharedRes, size_t offset) const; - class SharedZip : public RefBase { public: static sp<SharedZip> get(const String8& path, bool createIfNotPresent = true); @@ -254,9 +249,6 @@ private: bool isUpToDate(); - void addOverlay(const asset_path& ap); - bool getOverlay(size_t idx, asset_path* out) const; - protected: ~SharedZip(); @@ -271,8 +263,6 @@ private: Asset* mResourceTableAsset; ResTable* mResourceTable; - Vector<asset_path> mOverlays; - static Mutex gLock; static DefaultKeyedVector<String8, wp<SharedZip> > gOpen; }; @@ -306,9 +296,6 @@ private: bool isUpToDate(); - void addOverlay(const String8& path, const asset_path& overlay); - bool getOverlay(const String8& path, size_t idx, asset_path* out) const; - private: void closeZip(int idx); |