[Android] Set variables private
Geoffrey Métais
git at videolan.org
Mon Nov 6 16:00:45 CET 2017
vlc-android | branch: 2.5.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Nov 6 10:28:09 2017 +0100| [7d022b72330f09eb7608f4a8c4328bf2a8eba5d7] | committer: Geoffrey Métais
Set variables private
(cherry picked from commit 223f044e6088324f2556d506e44743eb745fde5a)
> https://code.videolan.org/videolan/vlc-android/commit/7d022b72330f09eb7608f4a8c4328bf2a8eba5d7
---
vlc-android/src/org/videolan/vlc/gui/MainActivity.java | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index 3b0352468..672dc229e 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -28,7 +28,6 @@ import android.content.ServiceConnection;
import android.database.Cursor;
import android.os.Build;
import android.os.Bundle;
-import android.os.Handler;
import android.os.IBinder;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
@@ -88,7 +87,7 @@ public class MainActivity extends ContentActivity implements FilterQueryProvider
private static final int ACTIVITY_RESULT_PREFERENCES = 1;
private static final int ACTIVITY_RESULT_OPEN = 2;
- public static final int ACTIVITY_RESULT_SECONDARY = 3;
+ private static final int ACTIVITY_RESULT_SECONDARY = 3;
private Medialibrary mMediaLibrary;
@@ -98,7 +97,7 @@ public class MainActivity extends ContentActivity implements FilterQueryProvider
private ActionBarDrawerToggle mDrawerToggle;
private int mCurrentFragmentId;
- public Fragment mCurrentFragment = null;
+ private Fragment mCurrentFragment = null;
private final SimpleArrayMap<String, WeakReference<Fragment>> mFragmentsStack = new SimpleArrayMap<>();
private boolean mScanNeeded = false;
More information about the Android
mailing list