Commit 0f5b1e3d authored by Geoffrey Métais's avatar Geoffrey Métais

Prevent NPE at app init

parent 233ac609
......@@ -159,7 +159,7 @@ public class VLCApplication extends Application {
public static boolean showTvUi() {
return sTV || mSettings.getBoolean("tv_ui", false);
return sTV || (mSettings != null && mSettings.getBoolean("tv_ui", false));
public static void runBackground(Runnable runnable) {
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