SecurityException MODE_WORLD_READABLE for 1.0.8
funnypc opened this issue · 0 comments
funnypc commented
XCallRecordingSettings 1.0.8 throws [ java.lang.SecurityException : MODE_WORLD_READABLE no longer supported ] error on RR RR-N-v5.8.4 (LOS 14.1/Android 7.1.2) + Magisk v14.0 + xposed-v87.3-sdk25
World-readable files can be a security flaw. So google first deprecated it and then completely removed it. MODE_WORLD_READABLE was deprecated in versions till Android M. But in Android N it is no longer supported and throws SecurityException. So try a different mode. I used Context.MODE_PRIVATE and it worked.