Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
packages_apps_Gallery2
Commits
08c0f250
Commit
08c0f250
authored
12 years ago
by
John Reck
Browse files
Options
Download
Email Patches
Plain Diff
Fix race condition
Change-Id: I6cf9207d067d4c0c3c4271d6ce6f44b213d7296b
parent
d26f1ad5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
src/com/android/photos/data/GalleryBitmapPool.java
src/com/android/photos/data/GalleryBitmapPool.java
+2
-4
No files found.
src/com/android/photos/data/GalleryBitmapPool.java
View file @
08c0f250
...
...
@@ -46,11 +46,9 @@ public class GalleryBitmapPool {
mCapacityBytes
=
capacityBytes
;
}
private
static
GalleryBitmapPool
sInstance
;
private
static
GalleryBitmapPool
sInstance
=
new
GalleryBitmapPool
(
CAPACITY_BYTES
);
public
static
GalleryBitmapPool
getInstance
()
{
if
(
sInstance
==
null
)
{
sInstance
=
new
GalleryBitmapPool
(
CAPACITY_BYTES
);
}
return
sInstance
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment