File tree Expand file tree Collapse file tree 3 files changed +15
-12
lines changed
src/plugins/terminal/src/android Expand file tree Collapse file tree 3 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 130130 "yargs" : " ^17.7.2"
131131 },
132132 "browserslist" : " cover 100%,not android < 5"
133- }
133+ }
Original file line number Diff line number Diff line change 2424public class AlpineDocumentProvider extends DocumentsProvider {
2525
2626 private static final String ALL_MIME_TYPES = "*/*" ;
27- private static final File BASE_DIR = new File ("/data/data/com.foxdebug.acode/files/public" );
2827
29- public AlpineDocumentProvider (){
30- if (!BASE_DIR .exists ()) {
31- BASE_DIR .mkdirs ();
32- }
33- }
3428
3529 // The default columns to return information about a root if no specific
3630 // columns are requested in a query.
@@ -58,6 +52,11 @@ public AlpineDocumentProvider(){
5852
5953 @ Override
6054 public Cursor queryRoots (String [] projection ) {
55+ File BASE_DIR = new File (getContext ().getFilesDir (),"public" );
56+ if (!BASE_DIR .exists ()) {
57+ BASE_DIR .mkdirs ();
58+ }
59+
6160 MatrixCursor result = new MatrixCursor (
6261 projection != null ? projection : DEFAULT_ROOT_PROJECTION
6362 );
@@ -185,6 +184,10 @@ public Cursor querySearchDocuments(
185184 String query ,
186185 String [] projection
187186 ) throws FileNotFoundException {
187+ File BASE_DIR = new File (getContext ().getFilesDir (),"public" );
188+ if (!BASE_DIR .exists ()) {
189+ BASE_DIR .mkdirs ();
190+ }
188191 MatrixCursor result = new MatrixCursor (
189192 projection != null ? projection : DEFAULT_DOCUMENT_PROJECTION
190193 );
Original file line number Diff line number Diff line change 165165
166166 < title > Acode</ title >
167167 <!--styles-->
168- < link rel ="stylesheet " href ="./css/build/3383.css ">
169- < link rel ="stylesheet " href ="./css/build/6053.css ">
170- < link rel ="stylesheet " href ="./css/build/9032.css ">
171- < link rel ="stylesheet " href ="./css/build/9218.css ">
172- < link rel ="stylesheet " href ="./css/build/9609.css ">
173168< link rel ="stylesheet " href ="./css/build/about.css ">
174169< link rel ="stylesheet " href ="./css/build/customTheme.css ">
175170< link rel ="stylesheet " href ="./css/build/donate.css ">
176171< link rel ="stylesheet " href ="./css/build/fileBrowser.css ">
177172< link rel ="stylesheet " href ="./css/build/fontManager.css ">
178173< link rel ="stylesheet " href ="./css/build/main.css ">
179174< link rel ="stylesheet " href ="./css/build/plugins.css ">
175+ < link rel ="stylesheet " href ="./css/build/src_pages_quickTools_quickTools_js.css ">
176+ < link rel ="stylesheet " href ="./css/build/src_sidebarApps_extensions_index_js.css ">
177+ < link rel ="stylesheet " href ="./css/build/src_sidebarApps_files_index_js.css ">
178+ < link rel ="stylesheet " href ="./css/build/src_sidebarApps_notification_index_js.css ">
179+ < link rel ="stylesheet " href ="./css/build/src_sidebarApps_searchInFiles_index_js.css ">
180180< link rel ="stylesheet " href ="./css/build/themeSetting.css ">
181181<!--styles_end-->
182182</ head >
You can’t perform that action at this time.
0 commit comments