Commit 7be16e47 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

s/Intance/Instance

parent 2a3fe34f
......@@ -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);
......
......@@ -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();
}
......
......@@ -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;
}
}
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment