am 9438ad15: am e580d661: am e89a2865: Merge changes If2c7e09f,Ie21f227c

* commit '9438ad1599716176fb6c593e77a2e93b265bbcb5':
  RRO idmap: pad with 0xffffffff, not 0x00000000
  RRO: reintroduce lost ResTable insert of assets
This commit is contained in:
Adam Lesinski
2014-12-03 00:30:56 +00:00
committed by Android Git Automerger
4 changed files with 25 additions and 7 deletions

View File

@@ -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