[Android] BitmapCache: privatize methods

Jean-Baptiste Kempf git at videolan.org
Tue Apr 9 15:21:17 CEST 2013


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Apr  4 11:40:49 2013 +0200| [5e053e74f91e6878dc2e7a79806c5075f0bb6249] | committer: Jean-Baptiste Kempf

BitmapCache: privatize methods

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=5e053e74f91e6878dc2e7a79806c5075f0bb6249
---

 vlc-android/src/org/videolan/vlc/BitmapCache.java |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/BitmapCache.java b/vlc-android/src/org/videolan/vlc/BitmapCache.java
index 1ce08a4..eac6f4b 100644
--- a/vlc-android/src/org/videolan/vlc/BitmapCache.java
+++ b/vlc-android/src/org/videolan/vlc/BitmapCache.java
@@ -84,11 +84,11 @@ public class BitmapCache {
             mMemCache.put(key, bitmap);
     }
 
-    public Bitmap getBitmapFromMemCache(int resId) {
+    private Bitmap getBitmapFromMemCache(int resId) {
         return getBitmapFromMemCache("res:" + resId);
     }
 
-    public void addBitmapToMemCache(int resId, Bitmap bitmap) {
+    private void addBitmapToMemCache(int resId, Bitmap bitmap) {
         addBitmapToMemCache("res:" + resId, bitmap);
     }
 



More information about the Android mailing list