File tree Expand file tree Collapse file tree
AndroidFilePickerLightLibrary
build/generated/source/buildConfig/debug/com/maxieds/androidfilepickerlightlibrary
src/main/java/com/maxieds/androidfilepickerlightlibrary Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,8 +64,8 @@ android {
6464 targetSdkVersion 35
6565 compileSdkVersion 35
6666 compileSdk 35
67- versionCode 29
68- versionName " 1.3.6 -beta"
67+ versionCode 30
68+ versionName " 1.3.7 -beta"
6969 buildFeatures. buildConfig = true
7070 buildToolsVersion ' 35.0.1'
7171
Original file line number Diff line number Diff line change @@ -8,13 +8,13 @@ public final class BuildConfig {
88 public static final String LIBRARY_PACKAGE_NAME = "com.maxieds.androidfilepickerlightlibrary" ;
99 public static final String BUILD_TYPE = "debug" ;
1010 // Field from build type: debug
11- public static final String BUILD_TIMESTAMP = "2026-03-05-110819 " ;
11+ public static final String BUILD_TIMESTAMP = "2026-03-05-180943 " ;
1212 // Field from build type: debug
1313 public static final String GIT_COMMIT_DATE = "" ;
1414 // Field from build type: debug
1515 public static final String GIT_COMMIT_HASH = "" ;
1616 // Field from build type: debug
17- public static final long VERSION_CODE = 29L ;
17+ public static final long VERSION_CODE = 30L ;
1818 // Field from build type: debug
19- public static final String VERSION_NAME = "1.3.6 -beta" ;
19+ public static final String VERSION_NAME = "1.3.7 -beta" ;
2020}
Original file line number Diff line number Diff line change @@ -145,7 +145,10 @@ private boolean setLegacyBaseFolderByName(String namedSubFolder) {
145145 String defaultLegacyStorageDir = "/storage/self/primary" ;
146146 if (Build .VERSION .SDK_INT >= Build .VERSION_CODES .Q ) {
147147 try {
148- String ctxStorageDir = FileChooserActivity .getInstance ().getExternalFilesDir (Environment .DIRECTORY_PICTURES ).getAbsolutePath ();
148+ //String ctxStorageDir = FileChooserActivity.getInstance().getExternalFilesDir(Environment.DIRECTORY_PICTURES).getAbsolutePath();
149+ //String rootStorageDir = "/storage/emulated/0"; // "/sdcard"
150+ File rootStorageFile = new File (defaultLegacyStorageDir );
151+ String ctxStorageDir = rootStorageFile .getAbsolutePath ();
149152 if (ctxStorageDir != null && ctxStorageDir .length () > 0 ) {
150153 defaultLegacyStorageDir = ctxStorageDir ;
151154 return setLegacyBaseFolderByName (defaultLegacyStorageDir , namedSubFolder );
@@ -177,7 +180,8 @@ public boolean selectBaseDirectoryByType(FileChooserBuilder.BaseFolderPathType b
177180 setLegacyBaseFolderByName ("" );
178181 break ;
179182 case BASE_PATH_TYPE_EXTERNAL_FILES_DOWNLOADS :
180- baseDirPath = appCtx .getExternalFilesDir (Environment .DIRECTORY_DOWNLOADS );
183+ //baseDirPath = appCtx.getExternalFilesDir(Environment.DIRECTORY_DOWNLOADS);
184+ baseDirPath = Environment .getExternalStoragePublicDirectory (Environment .DIRECTORY_DOWNLOADS );
181185 setLegacyBaseFolderByName ("Download" );
182186 break ;
183187 case BASE_PATH_TYPE_EXTERNAL_FILES_MOVIES :
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ android {
1010 applicationId " com.maxieds.androidfilepickerlight"
1111 minSdkVersion 29
1212 targetSdkVersion 35
13- versionCode 10
14- versionName " 1.3.6 -beta"
13+ versionCode 11
14+ versionName " 1.3.7 -beta"
1515 buildFeatures. buildConfig = true
1616 buildToolsVersion ' 35.0.1'
1717
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ afterEvaluate {
2323
2424 groupId ' com.maxieds.androidfilepickerlightlibrary'
2525 artifactId ' AndroidFilePickerLightLibrary'
26- version ' 1.3.6 -beta'
26+ version ' 1.3.7 -beta'
2727
2828 }
2929
You can’t perform that action at this time.
0 commit comments