From f1642d87c5cc6783f5ef16e3cbadbd098f086111 Mon Sep 17 00:00:00 2001 From: yingying Date: Thu, 4 Sep 2014 10:36:54 +0800 Subject: base: Fix the problems for runtime overlay. - There is no need to make the string blocking when adding the asset path, as it will be made by the resources. - After adding the overlay path, it also needs to update the string blocks. - Scan all the sub folders for framework overlay res. Change-Id: Iaad019111ae364c319e58dce57dbf4647b38d4c3 CRs-Fixed: 763809 --- include/androidfw/AssetManager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/androidfw/AssetManager.h b/include/androidfw/AssetManager.h index 0cfd2b1..0cfc270 100644 --- a/include/androidfw/AssetManager.h +++ b/include/androidfw/AssetManager.h @@ -280,7 +280,7 @@ private: const ResTable* getResTable(bool required = true) const; void setLocaleLocked(const char* locale); void updateResourceParamsLocked() const; - bool appendPathToResTable(const asset_path& ap) const; + bool appendPathToResTable(const asset_path& ap, size_t* entryIdx) const; Asset* openIdmapLocked(const struct asset_path& ap) const; -- cgit v1.1