Skip to content

Commit

Permalink
Added evictAll api
Browse files Browse the repository at this point in the history
  • Loading branch information
DHuckaby committed Oct 9, 2012
1 parent 9e4fd5a commit 0583083
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions library/src/com/handlerexploit/prime/utils/ImageManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ public static synchronized ImageManager getInstance(Context context) {
return sInstance;
}

public synchronized void evictAll() {
mLruCache.evictAll();
}

public void setPreferredConfig(Bitmap.Config preferredConfig) {
mPreferredConfig = preferredConfig;
}
Expand Down

0 comments on commit 0583083

Please sign in to comment.