Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4532c67b authored by Jozef BABJAK's avatar Jozef BABJAK Committed by Steve Kondik
Browse files

Re-assingning local variable if mStringBlocks was initialized here. NPE is thrown otherwise.

Change-Id: Ic8648aa5ae6a61348803171243c1c217feb058ec
parent c54e9e88
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -250,6 +250,7 @@ public final class AssetManager {
            StringBlock[] blocks = mStringBlocks;
            if (blocks == null) {
                ensureStringBlocks();
                blocks = mStringBlocks;
            }
            outValue.string = blocks[block].get(outValue.data);
            return true;