Use resource entry name instead of mangled name.
Change-Id: I833fa1b529fe505ce20ede12b7f4b5952a6ac1f0
This commit is contained in:
@@ -95,7 +95,7 @@ public class ScriptC extends Script {
|
||||
// E.g, /system/apps/Fountain.apk
|
||||
//String packageName = rs.getApplicationContext().getPackageResourcePath();
|
||||
// For res/raw/fountain.bc, it wil be /com.android.fountain:raw/fountain
|
||||
String resName = resources.getResourceName(resourceID);
|
||||
String resName = resources.getResourceEntryName(resourceID);
|
||||
String cacheDir = rs.getApplicationContext().getCacheDir().toString();
|
||||
|
||||
Log.v(TAG, "Create script for resource = " + resName);
|
||||
|
||||
Reference in New Issue
Block a user