질문하신 상수에 대한 설명을 API 문서에서 찾아 보니 다음과 같은 문구가 있군요
There are no guarantees that this access mode will remain on a file. File creation mode: allow all other applications to have read access to the created file.
나눈 이유는 당연히 read 속성과 write 속성을 분리하기 위해서 만든 것일테지만,
문서상에도 나와있듯이 해당 속성이 파일에 유지되는 것은 보장하지 않느다고 합니다.
그렇기 때문에 writeable로 만들어도 readable도 되는것이고 반대의 경우도 가능한 것입니다.
추가로 API Level 17 부터 보안상의 이유로 두 속성 다 deprecated 되었고
ContentProvider나 BroadcastReceiver나 Service를 이용하여 interaction 할 것을 권장하고 있습니다.
This constant was deprecated in API level 17.
Creating world-writable files is very dangerous, and likely to cause security holes in applications. It is strongly discouraged; instead, applications should use more formal mechanism for interactions such as ContentProvider
,BroadcastReceiver
, and Service
.
원문 : http://developer.android.com/reference/android/content/Context.html#MODE_WORLD_READABLE