View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0013322 | MMA | General | public | 2016-05-30 22:45 | 2017-03-08 05:50 |
Reporter | marek | Assigned To | |||
Priority | urgent | Severity | minor | Reproducibility | unable to reproduce |
Status | resolved | Resolution | not fixable | ||
Product Version | 1.3.0 | ||||
Target Version | 1.3.0 | ||||
Summary | 0013322: Write permission cannot be granted for SD card on some devices | ||||
Description | Some devices cannot obtain permission to write SD card via SAF API. It is forbidden by Android system. We have some logs, it occurs on a few devices. It is workarounded, so it uses Kitkat implementation if SAF fails. It is reproducible on: Samsung Galaxu S7 Edge SM-G935F Sony Xperia Z3 D6603 | ||||
Steps To Reproduce | To test whether the storage fails to get write permission, please do following: 1. Start MMA 2. Permission dialog is shown. Allow access to whole SD card. 3. Dialog is closed (No toast messsage, I was wrong) 4. Use some file browser and go to SD card. Do you see /MediaMonkey folder with /MediaMonkey/files/storageInfo.xml file? If no, it failed. | ||||
Additional Information | http://www.mediamonkey.com/support/staff/index.php?/Tickets/Ticket/View/30717/mytickets/-1/-1/-1 https://rink.hockeyapp.net/manage/apps/66872/app_versions/159/crashes/6779451011 https://rink.hockeyapp.net/manage/apps/66872/app_versions/161/crash_reasons/122807141 | ||||
Tags | No tags attached. | ||||
Fixed in build | |||||
|
Unfortunately like in last night tests using Z2 I was able to get my hands on Xperia Z3 Compact D5803 today and it also do not observe non access bug. |
|
We have one crashlog from Samsung Galaxy Note 4 SM-N910T3 with Android 5.1.1. So it isn't strictly 6.+ devices. Btw. there are two similar issues: 1. User selects the folder in permission dialog. MMA asks system to access this folder permanently (otherwise user would have to grant it each time he starts MMA). System throws exception: java.lang.SecurityException: No persistable permission grants found for UID 10172 and Uri 0 @ content://com.android.externalstorage.documents/tree/exfat_uuid .. so we cannot grant the permission 2. User selects the folder in permission dialog. MMA asks system to access this folder permanently. System grants the write permission but the folder still isn't writable! Actually whole SD card isn't writable. I don't know what can cause it. |
|
Here is another report with log file from a user unable to grant access: http://www.mediamonkey.com/forum/viewtopic.php?f=21&t=84458#p424673 |
|
I doesn't seems to be fixable. We do it the right way and system doesn't behave correctly on some devices. |