Commit 2c7f2e7a authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Rename method to avoid confusing between getter and setter

parent 53a01610
......@@ -23,7 +23,6 @@ package org.videolan.vlc;
import java.util.ArrayList;
import org.videolan.vlc.gui.video.VideoPlayerActivity;
import org.videolan.vlc.LibVlcException;
import android.content.Context;
import android.content.SharedPreferences;
......@@ -147,7 +146,7 @@ public class LibVLC {
return sUseIomx;
}
public static synchronized void useIOMX(boolean enable) {
public static synchronized void setIOMX(boolean enable) {
sUseIomx = enable;
}
......
......@@ -112,7 +112,7 @@ public class PreferencesActivity extends PreferenceActivity {
@Override
public boolean onPreferenceClick(Preference preference) {
CheckBoxPreference checkboxHW = (CheckBoxPreference) preference;
LibVLC.useIOMX(checkboxHW.isChecked());
LibVLC.setIOMX(checkboxHW.isChecked());
return true;
}
});
......
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