On my Samsung Galaxy S5 mini (Android 6.0.1) browsing the sdcard is not possible because there
is a hidden file .android_secure that is not readable by a normal user.
For such a file File.exists() returns false while File.listFiles() does return it
and SftpSubsystem.writeAttrs() throws an exception
Details
Details
- Reviewers
albertvaka - Group Reviewers
KDE Connect - Commits
- R225:78c69a0cdcfc: Allow browsing sdcard when there is an unreadable file in it (eg .
On a device where the SDCard cannot be browsed (I think its API 23 and up)
install kdeconnect with this patch and verify that the SDCard can now be browsed successfully
Diff Detail
Diff Detail
- Repository
- R225 KDE Connect - Android application
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Awesome! Unfortunately I don't have a phone with an SD Card to test. Does this also fix writing to the SD card?
Comment Actions
No only reading. Writing will take storage access framework I think, needs more investigating