diff options
Diffstat (limited to 'platform/android/src/com/artifex/mupdfdemo/BitmapHolder.java')
-rw-r--r-- | platform/android/src/com/artifex/mupdfdemo/BitmapHolder.java | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/platform/android/src/com/artifex/mupdfdemo/BitmapHolder.java b/platform/android/src/com/artifex/mupdfdemo/BitmapHolder.java deleted file mode 100644 index 5816e7bb..00000000 --- a/platform/android/src/com/artifex/mupdfdemo/BitmapHolder.java +++ /dev/null @@ -1,25 +0,0 @@ -package com.artifex.mupdfdemo; - -import android.graphics.Bitmap; - -public class BitmapHolder { - private Bitmap bm; - - public BitmapHolder() { - bm = null; - } - - public synchronized void setBm(Bitmap abm) { - if (bm != null && bm != abm) - bm.recycle(); - bm = abm; - } - - public synchronized void drop() { - bm = null; - } - - public synchronized Bitmap getBm() { - return bm; - } -} |