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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -