Skip to content

Commit 3a2d427

Browse files
authored
Merge pull request #12642 from Stypox/fireos-SAF
2 parents c25f83d + 4e9a480 commit 3a2d427

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/src/main/java/org/schabi/newpipe/settings/NewPipeSettings.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ private static String getNewPipeChildFolderPathForDir(final File dir) {
103103
}
104104

105105
public static boolean useStorageAccessFramework(final Context context) {
106-
// There's a FireOS bug which prevents SAF open/close dialogs from being confirmed with a
107-
// remote (see #6455).
108-
if (DeviceUtils.isFireTv()) {
109-
return false;
110-
} else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
106+
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
111107
return true;
108+
} else if (DeviceUtils.isFireTv()) {
109+
// There's a FireOS bug which prevents SAF open/close dialogs from being confirmed with
110+
// a remote (see #6455).
111+
return false;
112112
}
113113

114114
final String key = context.getString(R.string.storage_use_saf);

0 commit comments

Comments
 (0)