diff options
| author | Youkichi Hosoi <youkichihosoi@google.com> | 2021-11-13 16:20:07 +0900 |
|---|---|---|
| committer | Youkichi Hosoi <youkichihosoi@google.com> | 2021-11-15 12:07:25 +0900 |
| commit | 9c0b284bedafe4b9f791fd820ad7b58166488d32 (patch) | |
| tree | 84c29311a729f3fecce7264d8de4711512fe3731 /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | a7c80fad92596aacbf8bbf4ac97455dc1e5d7a3b (diff) | |
Split MOUNT_FLAG_VISIBLE into MOUNT_FLAG_VISIBLE_FOR_{READ, WRITE}
Currently, VolumeInfo.isVisibleForUser(), VolumeInfo.isVisibleForRead(),
and VolumeInfo.isVisibleForWrite() are all equivalent; all of them just
mean that the volume has MOUNT_FLAG_VISIBLE.
This CL splits MOUNT_FLAG_VISIBLE into MOUNT_FLAG_VISIBLE_FOR_READ and
MOUNT_FLAG_VISIBLE_FOR_WRITE. They correspond to isVisibleForRead() and
isVisibleForWrite(), respectively, whereas isVisibleForUser() is now
defined as isVisibleForRead() || isVisibleForWrite().
Accordingly, all usages of MOUNT_FLAG_VISIBLE are replaced with
MOUNT_FLAG_VISIBLE_FOR_WRITE, and all usages of isVisibleForRead() are
replaced with isVisibleForUser().
Bug: 206019156
Test: m
Change-Id: I576430680620363f4fbe49787035bd52445b3554
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
