[Android] s/Intance/Instance

Jean-Baptiste Kempf git at videolan.org
Tue Aug 14 13:11:55 CEST 2012


android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Aug 14 13:11:41 2012 +0200| [7be16e47188e93415162241dce79a0d0d350c273] | committer: Jean-Baptiste Kempf

s/Intance/Instance

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

 vlc-android/src/org/videolan/vlc/AudioService.java                 |    2 +-
 vlc-android/src/org/videolan/vlc/EventManager.java                 |    2 +-
 vlc-android/src/org/videolan/vlc/LibVLC.java                       |    2 +-
 .../src/org/videolan/vlc/gui/video/VideoPlayerActivity.java        |    4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/AudioService.java b/vlc-android/src/org/videolan/vlc/AudioService.java
index 6d91285..25c32f1 100644
--- a/vlc-android/src/org/videolan/vlc/AudioService.java
+++ b/vlc-android/src/org/videolan/vlc/AudioService.java
@@ -103,7 +103,7 @@ public class AudioService extends Service {
         mCallback = new HashMap<IAudioServiceCallback, Integer>();
         mMediaList = new ArrayList<Media>();
         mPrevious = new Stack<Media>();
-        mEventManager = EventManager.getIntance();
+        mEventManager = EventManager.getInstance();
 
         IntentFilter filter = new IntentFilter();
         filter.setPriority(Integer.MAX_VALUE);
diff --git a/vlc-android/src/org/videolan/vlc/EventManager.java b/vlc-android/src/org/videolan/vlc/EventManager.java
index 19e88a1..b3f959b 100644
--- a/vlc-android/src/org/videolan/vlc/EventManager.java
+++ b/vlc-android/src/org/videolan/vlc/EventManager.java
@@ -95,7 +95,7 @@ public class EventManager {
         mEventHandler = new ArrayList<Handler>();
     }
 
-    public static EventManager getIntance() {
+    public static EventManager getInstance() {
         if (mInstance == null) {
             mInstance = new EventManager();
         }
diff --git a/vlc-android/src/org/videolan/vlc/LibVLC.java b/vlc-android/src/org/videolan/vlc/LibVLC.java
index 6ec031e..98ac2db 100644
--- a/vlc-android/src/org/videolan/vlc/LibVLC.java
+++ b/vlc-android/src/org/videolan/vlc/LibVLC.java
@@ -194,7 +194,7 @@ public class LibVLC {
             Context context = VLCApplication.getAppContext();
             SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(context);
             nativeInit(pref.getBoolean("enable_verbose_mode", true));
-            setEventManager(EventManager.getIntance());
+            setEventManager(EventManager.getInstance());
             mIsInitialized = true;
         }
     }
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index a478ed4..3d1d625 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -270,7 +270,7 @@ public class VideoPlayerActivity extends Activity {
             e.printStackTrace();
         }
 
-        EventManager em = EventManager.getIntance();
+        EventManager em = EventManager.getInstance();
         em.addHandler(eventHandler);
 
         this.setVolumeControlStream(AudioManager.STREAM_MUSIC);
@@ -325,7 +325,7 @@ public class VideoPlayerActivity extends Activity {
             mLibVLC.stop();
         }
 
-        EventManager em = EventManager.getIntance();
+        EventManager em = EventManager.getInstance();
         em.removeHandler(eventHandler);
 
         mAudioManager = null;



More information about the Android mailing list