am 45e13ec1: am 5fcfce96: am 4b72eec3: Merge "Re-assingning local variable if mStringBlocks was initialized here. NPE is thrown otherwise."
* commit '45e13ec1c5cd765162b7450b1c3a4632e8979894': Re-assingning local variable if mStringBlocks was initialized here. NPE is thrown otherwise.
This commit is contained in:
committed by
Android Git Automerger
commit
31418a1e9b
@@ -235,6 +235,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