From a7bf6af8c4b0c6497c3133d121d345be2907aa2e Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 11 Jan 2020 04:34:23 -0800 Subject: [PATCH] The Amlogic TVB-906X is Android TV --- .../app/src/main/java/org/libsdl/app/SDLActivity.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java b/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java index 00e5f8f2b..b91a96a97 100644 --- a/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java +++ b/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java @@ -976,6 +976,9 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh if (Build.MANUFACTURER.equals("Amlogic") && Build.MODEL.equals("X96-W")) { return true; } + if (Build.MANUFACTURER.equals("Amlogic") && Build.MODEL.startsWith("TV")) { + return true; + } return false; }