Skip to content

Commit

Permalink
new release (v4.14)
Browse files Browse the repository at this point in the history
- Fixed filter bug causing crash on startup
- Fixed file not opening on some apps (missing metadata)
- Fixed file size calculation incorrect
- Now clear text input when create new folder
- More natural-looking back button
- Removed unused notification about invalid folder name
- Now uses Future for concurrency management (less race condition)
  • Loading branch information
wmartinmimi committed Nov 28, 2023
1 parent 7514475 commit e24e1fa
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
1 change: 0 additions & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<manifest xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.martinmimigames.simplefileexplorer"
a:versionCode="15"
a:versionName="4.13">
a:versionCode="16"
a:versionName="4.14">

<uses-permission a:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission a:name="android.permission.READ_EXTERNAL_STORAGE" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public static String getReadableMemorySize(long size) {
return sizeWithPoint + unit;
}

public static String getMD5(Context context, File file) throws InterruptedException{
public static String getMD5(Context context, File file) throws InterruptedException {
try (var inputStream = new FileInputStream(file)) {
var digest = MessageDigest.getInstance("MD5");
var buffer = new byte[1024];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
import android.net.Uri;
import android.os.ParcelFileDescriptor;
import android.provider.MediaStore;
import android.provider.OpenableColumns;
import android.util.Log;
import android.webkit.MimeTypeMap;

import java.io.File;
Expand Down Expand Up @@ -78,13 +76,13 @@ public Cursor query(Uri uri, String[] projection, String selection, String[] sel
if (file == null)
return new MatrixCursor(new String[0], 0);

var columns = new String[] {
var columns = new String[]{
MediaStore.MediaColumns.DISPLAY_NAME,
MediaStore.MediaColumns.SIZE,
MediaStore.MediaColumns.DATA,
MediaStore.MediaColumns.DATE_MODIFIED,
};
var row = new String[] {
var row = new String[]{
file.getName(),
String.valueOf(file.length()),
file.getAbsolutePath(),
Expand Down
7 changes: 7 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/16.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
- Fixed filter bug causing crash on startup
- Fixed file not opening on some apps (missing metadata)
- Fixed file size calculation incorrect
- Now clear text input when create new folder
- More natural-looking back button
- Removed unused notification about invalid folder name
- Now uses Future for concurrency management (less race condition)

0 comments on commit e24e1fa

Please sign in to comment.