Merge "Re-assingning local variable if mStringBlocks was initialized here. NPE is thrown otherwise."
This commit is contained in:
@@ -234,6 +234,7 @@ public final class AssetManager {
|
||||
StringBlock[] blocks = mStringBlocks;
|
||||
if (blocks == null) {
|
||||
ensureStringBlocks();
|
||||
blocks = mStringBlocks;
|
||||
}
|
||||
outValue.string = blocks[block].get(outValue.data);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user