android - Is DocumentFile API broken on encrypted removable SD card on Samsung Galaxy S7? -


i have created zero size file aaa.txt on root folder of unencrypted removable sd card. file aaa.txt has correct size 0 bytes when list entries in root folder documentfile#listfiles().

if encrypt removable sd card "settings" -> "lock screen , security option" -> "encrypt sd card" , call documentfile#listfiles() again, i size 8192 bytes!

as suppose documentfile api should show me same size both encrypted , unencrypted cases. device model samsung galaxy s7 android 7.0.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -