[Android] MainActivity: set the ShowFragment method private
Adrien Maglo
git at videolan.org
Fri Feb 21 13:35:26 CET 2014
vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Fri Feb 21 13:35:19 2014 +0100| [2f3d89d6db2a7ba5847ef18b946fcecfe8a01887] | committer: Adrien Maglo
MainActivity: set the ShowFragment method private
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=2f3d89d6db2a7ba5847ef18b946fcecfe8a01887
---
vlc-android/src/org/videolan/vlc/gui/MainActivity.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index a0c307d..05d8a4c 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -447,7 +447,7 @@ public class MainActivity extends SherlockFragmentActivity {
return mSidebarAdapter.fetchFragment(id);
}
- public static void ShowFragment(FragmentActivity activity, String tag, Fragment fragment) {
+ private static void ShowFragment(FragmentActivity activity, String tag, Fragment fragment) {
if (fragment == null) {
Log.e(TAG, "Cannot show a null fragment, ShowFragment("+tag+") aborted.");
return;
More information about the Android
mailing list