aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfuzzard <fuzzard@users.noreply.github.com>2022-11-06 09:24:45 +1000
committerGitHub <noreply@github.com>2022-11-06 09:24:45 +1000
commit06da2ec7db540396e3d1392679650cb2e61ae4e7 (patch)
tree6e8442f8379ed6e3dcc81575456b3e700ae92c16
parentb045d6d9bc1a0e2f73ca873392a01581479300b9 (diff)
parent27fa5bc28758fa2f4784b5eb0b37cfd08a1911f0 (diff)
Merge pull request #21930 from joseluismarti/atv13-all-files
[Android] All Files Access permission in Android TV
-rw-r--r--tools/android/packaging/xbmc/src/Splash.java.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/android/packaging/xbmc/src/Splash.java.in b/tools/android/packaging/xbmc/src/Splash.java.in
index 128e49ae7d..a777c6f89a 100644
--- a/tools/android/packaging/xbmc/src/Splash.java.in
+++ b/tools/android/packaging/xbmc/src/Splash.java.in
@@ -142,7 +142,7 @@ public class Splash extends Activity
RECORDAUDIO_RESULT_CODE);
break;
case CheckingPermissions:
- if ((Build.VERSION.SDK_INT >= 30) && !isAndroidTV())
+ if (Build.VERSION.SDK_INT >= 33 || (Build.VERSION.SDK_INT >= 30 && !isAndroidTV()))
{
try
{
@@ -759,7 +759,7 @@ public class Splash extends Activity
private boolean CheckPermissions()
{
boolean retVal = false;
- if ((Build.VERSION.SDK_INT >= 30) && !isAndroidTV())
+ if (Build.VERSION.SDK_INT >= 33 || (Build.VERSION.SDK_INT >= 30 && !isAndroidTV()))
{
if (Environment.isExternalStorageManager())
{