Commit bb6ccd1a authored by Geoffrey Métais's avatar Geoffrey Métais

Show tablet UI on chromebooks even without TSP

parent d77eb6a8
......@@ -110,7 +110,7 @@ public class StartActivity extends FragmentActivity implements StoragePermission
}
private boolean showTvUi() {
return AndroidUtil.isJellyBeanMR1OrLater && (AndroidDevices.isAndroidTv || !AndroidDevices.hasTsp ||
return AndroidUtil.isJellyBeanMR1OrLater && (AndroidDevices.isAndroidTv || (!AndroidDevices.isChromeBook && !AndroidDevices.hasTsp) ||
PreferenceManager.getDefaultSharedPreferences(this).getBoolean("tv_ui", false));
}
......
......@@ -105,7 +105,7 @@ public class VLCApplication extends Application {
// Prepare cache folder constants
AudioUtil.prepareCacheFolder(instance);
sTV = AndroidDevices.isAndroidTv || !AndroidDevices.hasTsp;
sTV = AndroidDevices.isAndroidTv || (!AndroidDevices.isChromeBook && !AndroidDevices.hasTsp);
if (!VLCInstance.testCompatibleCPU(instance))
return;
......
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