amaze text editor crashes when I open a text file sent from another bluetooth device

Words
154
Reading
1 min
Listen
Play
8y

Expected behavior

I expected I'll be able to open txt file sent from another device via bluetooth.

Actual behavior

When I opt to read the txt file with amaze text editor, the app crashes.

How to reproduce

  • download the app, launch it and allow all permissions
  • transfer a text file from another device via bluetooth.
  • open the file immediately from the inbound history
  • the app crashes
  • Device: Tecno Camon CM
  • Operating system: Android 7.0
  • Software version: 3.2.1

Recording Of The Bug

Logcat Report

This is a logcat report of the crash

[04-24 10:40:54.585 17689:17711 E/AndroidRuntime]
FATAL EXCEPTION: Thread-2
Process: com.amaze.filemanager, PID: 17689
java.lang.SecurityException: Permission Denial: writing android.support.v4.content.FileProvider uri content://com.google.android.bluetooth.fileprovider/bluetooth/storage/6530-6433/bluetooth/casino.txt from pid=17689, uid=10194 requires the provider be exported, or grantUriPermission()
at android.os.Parcel.readException(Parcel.java:1683)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:188)
at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:151)
at android.content.ContentProviderProxy.openAssetFile(ContentProviderNative.java:621)
at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1016)
at android.content.ContentResolver.openFileDescriptor(ContentResolver.java:851)
at android.content.ContentResolver.openFileDescriptor(ContentResolver.java:805)
at com.amaze.filemanager.activities.TextReader.getInputStream(TextReader.java:685)
at com.amaze.filemanager.activities.TextReader.access$400(TextReader.java:92)
at com.amaze.filemanager.activities.TextReader$4.run(TextReader.java:461)
at java.lang.Thread.run(Thread.java:761)



Posted on Utopian.io - Rewarding Open Source Contributors

amaze text editor crashes when I open a text file sent from another... | Ecency