Skip to content

Commit 7df51a2

Browse files
Dr. Maxie Dion SchmidtDr. Maxie Dion Schmidt
authored andcommitted
Release v1.3.8-beta
1 parent 548eae0 commit 7df51a2

9 files changed

Lines changed: 56 additions & 41 deletions

File tree

AndroidFilePickerLightLibrary/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ android {
6464
targetSdkVersion 35
6565
compileSdkVersion 35
6666
compileSdk 35
67-
versionCode 30
68-
versionName "1.3.7-beta"
67+
versionCode 31
68+
versionName "1.3.8-beta"
6969
buildFeatures.buildConfig = true
7070
buildToolsVersion '35.0.1'
7171

AndroidFilePickerLightLibrary/build/generated/source/buildConfig/debug/com/maxieds/androidfilepickerlightlibrary/BuildConfig.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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-180943";
11+
public static final String BUILD_TIMESTAMP = "2026-03-05-231616";
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 = 30L;
17+
public static final long VERSION_CODE = 31L;
1818
// Field from build type: debug
19-
public static final String VERSION_NAME = "1.3.7-beta";
19+
public static final String VERSION_NAME = "1.3.8-beta";
2020
}

AndroidFilePickerLightLibrary/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
#Thu Mar 05 07:53:51 CST 2026
2-
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/file_chooser_default_toolbar_icon48.webp=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/file_chooser_default_toolbar_icon48.webp
1+
#Thu Mar 05 19:29:07 CST 2026
32
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/layout/nav_folder_button_long_form.xml=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/layout/nav_folder_button_long_form.xml
3+
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/file_chooser_default_toolbar_icon48.webp=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/file_chooser_default_toolbar_icon48.webp
44
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/hidden_file_icon32.webp=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/hidden_file_icon32.webp
55
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/text_file_icon32.webp=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/text_file_icon32.webp
66
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/progressbar_5.webp=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/progressbar_5.webp
77
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/mipmap-hdpi/library_profile_icon_round_round.png=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-hdpi-v4/library_profile_icon_round_round.png
88
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/progressbar_0.webp=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/progressbar_0.webp
9-
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/layout/main_picker_activity_base_layout.xml=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/layout/main_picker_activity_base_layout.xml
109
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/library_profile_icon_round_background.xml=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/library_profile_icon_round_background.xml
10+
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/layout/main_picker_activity_base_layout.xml=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/layout/main_picker_activity_base_layout.xml
1111
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/mipmap-xxxhdpi/library_profile_icon_round.png=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-xxxhdpi-v4/library_profile_icon_round.png
1212
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/mipmap-xxhdpi/library_profile_icon_round_round.png=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-xxhdpi-v4/library_profile_icon_round_round.png
1313
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/cancel_button_x_icon24.webp=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/cancel_button_x_icon24.webp
1414
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/progressbar_4.webp=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/progressbar_4.webp
15-
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/rview_file_item_divider.xml=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/rview_file_item_divider.xml
1615
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/progressbar_1.webp=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/progressbar_1.webp
16+
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/rview_file_item_divider.xml=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/rview_file_item_divider.xml
1717
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/mipmap-anydpi-v26/library_profile_icon_round.xml=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-anydpi-v26/library_profile_icon_round.xml
1818
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/mipmap-hdpi/library_profile_icon_round.png=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/mipmap-hdpi-v4/library_profile_icon_round.png
1919
com.maxieds.androidfilepickerlightlibrary.AndroidFilePickerLightLibrary-main-6\:/drawable/media_file_icon32.webp=/Users/maxieds/AndroidFilePickerLight2-NewBuildScripts/AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/drawable/media_file_icon32.webp

AndroidFilePickerLightLibrary/build/intermediates/packaged_res/debug/packageDebugResources/xml/file_provider_paths_base.xml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,20 @@
1919

2020
<paths xmlns:android="http://schemas.android.com/apk/res/android">
2121

22-
<root-path name="external_files" path="/storage/self/primary" />
22+
<!--<root-path name="external_files" path="/storage/self/primary" />-->
23+
<root-path name="external_files" path="/storage/emulated/0" />
2324

2425
<files-path name="external_files" path="." />
25-
<files-path name="root" path="/" />
26-
<files-path name="shared" path="shared/"/>
27-
28-
<cache-path name="cache" path="/" />
26+
<!--<files-path name="root" path="/" />-->
27+
<files-path name="root" path="/storage/emulated/0" />
28+
<!--<files-path name="shared" path="shared/"/>-->
29+
<!--<cache-path name="cache" path="/" />-->
30+
<cache-path name="cache" path="/storage/emulated/0" />
2931

3032
<external-cache-path name="external_cache" path="." />
3133

32-
<external-files name="/storage/self/primary" path="."/>
34+
<!--<external-files name="/storage/self/primary" path="."/>-->
35+
<external-files name="/storage/emulated/0" path="."/>
3336
<external-files name="Download" path="Download/" />
3437
<external-files name="Downloads" path="Downloads/" />
3538
<external-files name="Movies" path="./Movies/" />
@@ -39,7 +42,8 @@
3942
<external-files name="DCIM" path="./DCIM/" />
4043
<external-files name="Camera" path="./DCIM/Camera/" />
4144

42-
<external-files-path name="/storage/self/primary" path="."/>
45+
<!--<external-files-path name="/storage/self/primary" path="."/>-->
46+
<external-files-path name="/storage/emulated/0" path="."/>
4347
<external-files-path name="Download" path="Download/" />
4448
<external-files-path name="Downloads" path="Downloads/" />
4549
<external-files-path name="Movies" path="Movies/" />

AndroidFilePickerLightLibrary/src/main/java/com/maxieds/androidfilepickerlightlibrary/BasicFileProvider.java

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ private boolean setLegacyBaseFolderByName(String namedSubFolder) {
146146
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
147147
try {
148148
//String ctxStorageDir = FileChooserActivity.getInstance().getExternalFilesDir(Environment.DIRECTORY_PICTURES).getAbsolutePath();
149-
//String rootStorageDir = "/storage/emulated/0"; // "/sdcard"
150-
File rootStorageFile = new File(defaultLegacyStorageDir);
149+
String rootStorageDir = "/storage/emulated/0"; // "/sdcard"
150+
File rootStorageFile = new File(rootStorageDir);
151151
String ctxStorageDir = rootStorageFile.getAbsolutePath();
152152
if (ctxStorageDir != null && ctxStorageDir.length() > 0) {
153153
defaultLegacyStorageDir = ctxStorageDir;
@@ -173,8 +173,8 @@ public boolean selectBaseDirectoryByType(FileChooserBuilder.BaseFolderPathType b
173173
FileChooserActivity appCtx = FileChooserActivity.getInstance();
174174
switch(baseFolderType) {
175175
case BASE_PATH_TYPE_FILES_DIR:
176-
baseDirPath = appCtx.getFilesDir();
177-
break;
176+
//baseDirPath = appCtx.getFilesDir();
177+
//break;
178178
case BASE_PATH_DEFAULT:
179179
case BASE_PATH_SECONDARY_STORAGE:
180180
setLegacyBaseFolderByName("");
@@ -470,7 +470,9 @@ public Cursor queryChildDocuments(String parentDocumentId, String[] projection,
470470
else {
471471
docsQueryFilesList = parent.listFiles();
472472
}
473-
if (docsQueryFilesList.length == 0) {
473+
if (docsQueryFilesList == null) {
474+
return mcResult;
475+
} else if (docsQueryFilesList.length == 0) {
474476
return mcResult;
475477
}
476478
if(customFolderSort != null) {

AndroidFilePickerLightLibrary/src/main/java/com/maxieds/androidfilepickerlightlibrary/DisplayUtils.java

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -227,22 +227,27 @@ private static void displayToastMessage(Activity activityInst, String toastMsg,
227227
toastMsg,
228228
msgDuration
229229
);
230-
toastDisplay.setGravity(Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM, 0, 25);
231-
toastDisplay.getView().setPadding(10, 10, 10, 10);
230+
//toastDisplay.setGravity(Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM, 0, 25);
231+
View tdView = toastDisplay.getView();
232+
if (tdView != null) {
233+
tdView.setPadding(10, 10, 10, 10);
234+
}
232235
int toastBackgroundColor = getColorVariantFromTheme(R.attr.__colorAccent);
233236
int toastTextColor = getColorVariantFromTheme(R.attr.__colorPrimaryDark);
234237
if (layoutStylizer != null) {
235238
toastBackgroundColor = layoutStylizer.getThemeColorizer().getColorAccent();
236239
toastTextColor = layoutStylizer.getThemeColorizer().getColorPrimaryDark();
237240
}
238-
toastDisplay.getView().getBackground().setColorFilter(toastBackgroundColor, PorterDuff.Mode.SRC_IN);
239-
TextView toastTextMsg = toastDisplay.getView().findViewById(android.R.id.message);
240-
if (toastTextMsg != null) {
241-
toastTextMsg.setTextColor(toastTextColor);
242-
toastTextMsg.setTextSize(TypedValue.COMPLEX_UNIT_SP, 12f);
243-
toastTextMsg.setTypeface(toastTextMsg.getTypeface(), Typeface.BOLD_ITALIC);
241+
if (tdView != null) {
242+
tdView.getBackground().setColorFilter(toastBackgroundColor, PorterDuff.Mode.SRC_IN);
243+
TextView toastTextMsg = tdView.findViewById(android.R.id.message);
244+
if (toastTextMsg != null) {
245+
toastTextMsg.setTextColor(toastTextColor);
246+
toastTextMsg.setTextSize(TypedValue.COMPLEX_UNIT_SP, 12f);
247+
toastTextMsg.setTypeface(toastTextMsg.getTypeface(), Typeface.BOLD_ITALIC);
248+
}
249+
tdView.setAlpha(0.75f);
244250
}
245-
toastDisplay.getView().setAlpha(0.75f);
246251
toastDisplay.show();
247252
} catch (Exception windowError) {
248253
windowError.printStackTrace();
@@ -333,7 +338,7 @@ public static void DisplayProgressBar(Activity activityInstInput, String thingsN
333338
@Override
334339
public void run() {
335340
progressBarToast = Toast.makeText(mainAppActivity, statusBarMsg, STATUS_TOAST_DISPLAY_TIME);
336-
progressBarToast.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, 65);
341+
//progressBarToast.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, 65);
337342
LayoutInflater layoutInflater = mainAppActivity.getLayoutInflater();
338343
View toastProgressView = layoutInflater.inflate(R.layout.progress_bar_layout, null);
339344
Drawable statusBarMarkerImage = mainAppActivity.getResources().getDrawable(PROGRESS_BAR_VISUAL_MARKERS[statusBarMarkerIdx]);

AndroidFilePickerLightLibrary/src/main/res/xml/file_provider_paths_base.xml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,20 @@
1919

2020
<paths xmlns:android="http://schemas.android.com/apk/res/android">
2121

22-
<root-path name="external_files" path="/storage/self/primary" />
22+
<!--<root-path name="external_files" path="/storage/self/primary" />-->
23+
<root-path name="external_files" path="/storage/emulated/0" />
2324

2425
<files-path name="external_files" path="." />
25-
<files-path name="root" path="/" />
26-
<files-path name="shared" path="shared/"/>
27-
28-
<cache-path name="cache" path="/" />
26+
<!--<files-path name="root" path="/" />-->
27+
<files-path name="root" path="/storage/emulated/0" />
28+
<!--<files-path name="shared" path="shared/"/>-->
29+
<!--<cache-path name="cache" path="/" />-->
30+
<cache-path name="cache" path="/storage/emulated/0" />
2931

3032
<external-cache-path name="external_cache" path="." />
3133

32-
<external-files name="/storage/self/primary" path="."/>
34+
<!--<external-files name="/storage/self/primary" path="."/>-->
35+
<external-files name="/storage/emulated/0" path="."/>
3336
<external-files name="Download" path="Download/" />
3437
<external-files name="Downloads" path="Downloads/" />
3538
<external-files name="Movies" path="./Movies/" />
@@ -39,7 +42,8 @@
3942
<external-files name="DCIM" path="./DCIM/" />
4043
<external-files name="Camera" path="./DCIM/Camera/" />
4144

42-
<external-files-path name="/storage/self/primary" path="."/>
45+
<!--<external-files-path name="/storage/self/primary" path="."/>-->
46+
<external-files-path name="/storage/emulated/0" path="."/>
4347
<external-files-path name="Download" path="Download/" />
4448
<external-files-path name="Downloads" path="Downloads/" />
4549
<external-files-path name="Movies" path="Movies/" />

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ android {
1010
applicationId "com.maxieds.androidfilepickerlight"
1111
minSdkVersion 29
1212
targetSdkVersion 35
13-
versionCode 11
14-
versionName "1.3.7-beta"
13+
versionCode 12
14+
versionName "1.3.8-beta"
1515
buildFeatures.buildConfig = true
1616
buildToolsVersion '35.0.1'
1717

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ afterEvaluate {
2323

2424
groupId 'com.maxieds.androidfilepickerlightlibrary'
2525
artifactId 'AndroidFilePickerLightLibrary'
26-
version '1.3.7-beta'
26+
version '1.3.8-beta'
2727

2828
}
2929

0 commit comments

Comments
 (0)