diff options
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/photos/data/SparseArrayBitmapPool.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/photos/data/SparseArrayBitmapPool.java b/src/com/android/photos/data/SparseArrayBitmapPool.java index 851259056..1ef9e9f48 100644 --- a/src/com/android/photos/data/SparseArrayBitmapPool.java +++ b/src/com/android/photos/data/SparseArrayBitmapPool.java @@ -135,6 +135,8 @@ public class SparseArrayBitmapPool { mStore.put(key, newNode); if (newNode.nextInPool == null) { mPoolNodesTail = newNode; + } else { + newNode.nextInPool.prevInPool = newNode; } mSizeBytes += bytes; return true; |