Grant Document Tree Access nor working
Android 6 (Marshmallow).
When trying to write a file the alert appears that "grant document tree access" is necessary to perform this action next time without asking. Then the usual file manager is displayed where I selected external SD card.
But tasker does not seem to be able to write to the file. The alert reappears instantly. If I select <back> I get an error message
15.12.01/FileUtil haveAccess: test :
content://com.android.externalstorage.documents/tree/1234-5678%3A wr: false ww:
true ir: true iw: true
15.12.01/FileUtil haveAccess: fullPath: /storage/1234-5678
15.12.01/FileUtil nrda: need request: /TaskerTest. txt: true
15.12.01/E start proxy ProxyTransparent, wait, time limit 20s
15.12.01/E add wait type Proxy Group time 20
15.12.01/E add wait type Proxy Group done
15.12.01/E set proxy: true (startProxy)
15.12.01/E add wait task
15.12.03/E Error: 1
/storage/1234-5678 is external SD card. If I provide the full path to a file on internal storage it works (as expected).
What's wrong?