From 7c43e10cfe1fbea666d8f2c7ab2eedee84b7e772 Mon Sep 17 00:00:00 2001 From: babaric-dev <104625126+babaric-dev@users.noreply.github.com> Date: Sun, 1 Jan 2023 11:21:57 +0800 Subject: [PATCH] Allow access to all files from SAF Allow access everything under `/data/data/com.termux/files`, not just `/data/data/com.termux/files/home` --- .../java/com/termux/filepicker/TermuxDocumentsProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/termux/filepicker/TermuxDocumentsProvider.java b/app/src/main/java/com/termux/filepicker/TermuxDocumentsProvider.java index 7974d6dbc1..b01eeab808 100644 --- a/app/src/main/java/com/termux/filepicker/TermuxDocumentsProvider.java +++ b/app/src/main/java/com/termux/filepicker/TermuxDocumentsProvider.java @@ -35,7 +35,7 @@ public class TermuxDocumentsProvider extends DocumentsProvider { private static final String ALL_MIME_TYPES = "*/*"; - private static final File BASE_DIR = TermuxConstants.TERMUX_HOME_DIR; + private static final File BASE_DIR = TermuxConstants.TERMUX_FILES_DIR; // The default columns to return information about a root if no specific