File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/java/com/brouken/player Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ android {
11
11
applicationId " com.brouken.player"
12
12
minSdkVersion 21
13
13
targetSdkVersion 34
14
- versionCode 166
14
+ versionCode 167
15
15
versionName " 0.${ versionCode} "
16
16
archivesBaseName = " Just.Player.v${ versionName} "
17
17
}
Original file line number Diff line number Diff line change @@ -447,7 +447,7 @@ public static boolean isTvBox(Context context) {
447
447
// Legacy storage no longer works on Android 11 (level 30)
448
448
if (Build .VERSION .SDK_INT < 30 ) {
449
449
// (Some boxes still report touchscreen feature)
450
- if (!pm .hasSystemFeature (PackageManager .FEATURE_TOUCHSCREEN )) {
450
+ if (!pm .hasSystemFeature (PackageManager .FEATURE_TOUCHSCREEN ) && ! pm . hasSystemFeature ( PackageManager . FEATURE_TELEPHONY ) ) {
451
451
return true ;
452
452
}
453
453
You can’t perform that action at this time.
0 commit comments