[Android] Inner class made static

Geoffrey Métais git at videolan.org
Tue Feb 17 10:55:31 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Feb 16 16:44:36 2015 +0100| [7ba46578748658c0d7d2ce98c8d216bde7f0d74e] | committer: Geoffrey Métais

Inner class made static

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

 vlc-android/src/org/videolan/vlc/gui/BrowserActivity.java            |    2 +-
 .../src/org/videolan/vlc/gui/audio/AudioBrowserListAdapter.java      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/BrowserActivity.java b/vlc-android/src/org/videolan/vlc/gui/BrowserActivity.java
index 9da56f2..94e997c 100644
--- a/vlc-android/src/org/videolan/vlc/gui/BrowserActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/BrowserActivity.java
@@ -287,7 +287,7 @@ public class BrowserActivity extends ListActivity {
     /**
      * Filter: accept only directories
      */
-    private class DirFilter implements FileFilter {
+    static private class DirFilter implements FileFilter {
 
         @Override
         public boolean accept(File f) {
diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserListAdapter.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserListAdapter.java
index a84c34d..ec4cca1 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserListAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserListAdapter.java
@@ -81,7 +81,7 @@ public class AudioBrowserListAdapter extends BaseAdapter implements SectionIndex
     private ContextPopupMenuListener mContextPopupMenuListener;
 
     // An item of the list: a media or a separator.
-    class ListItem {
+    static class ListItem {
         final public String mTitle;
         final public String mSubTitle;
         final public ArrayList<MediaWrapper> mMediaList;



More information about the Android mailing list