* commit '9438ad1599716176fb6c593e77a2e93b265bbcb5': RRO idmap: pad with 0xffffffff, not 0x00000000 RRO: reintroduce lost ResTable insert of assets
This commit is contained in:
@@ -627,7 +627,21 @@ public final class AssetManager implements AutoCloseable {
|
||||
*
|
||||
* {@hide}
|
||||
*/
|
||||
public native final int addOverlayPath(String idmapPath);
|
||||
|
||||
public final int addOverlayPath(String idmapPath) {
|
||||
synchronized (this) {
|
||||
int res = addOverlayPathNative(idmapPath);
|
||||
makeStringBlocks(mStringBlocks);
|
||||
return res;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* See addOverlayPath.
|
||||
*
|
||||
* {@hide}
|
||||
*/
|
||||
public native final int addOverlayPathNative(String idmapPath);
|
||||
|
||||
/**
|
||||
* Add multiple sets of assets to the asset manager at once. See
|
||||
|
||||
Reference in New Issue
Block a user