diff options
| author | 2011-04-26 12:45:52 -0700 | |
|---|---|---|
| committer | 2011-04-26 12:45:52 -0700 | |
| commit | b7642cbae40aa6b1c54e5b39ed046f7f52e327d9 (patch) | |
| tree | 51bd4711d27c207b1c1f290dfa1e750f2766ff2f | |
| parent | 86c5a9995f130c069eded44c155b232a47fd2341 (diff) | |
| parent | 31418a1e9b905593587d8bf7a4705429db549d97 (diff) | |
am 31418a1e: am 45e13ec1: am 5fcfce96: am 4b72eec3: Merge "Re-assingning local variable if mStringBlocks was initialized here. NPE is thrown otherwise."
* commit '31418a1e9b905593587d8bf7a4705429db549d97':
Re-assingning local variable if mStringBlocks was initialized here. NPE is thrown otherwise.
| -rw-r--r-- | core/java/android/content/res/AssetManager.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/content/res/AssetManager.java b/core/java/android/content/res/AssetManager.java index c8c57334063b..be67e961ccf9 100644 --- a/core/java/android/content/res/AssetManager.java +++ b/core/java/android/content/res/AssetManager.java @@ -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; |