diff options
| author | Youkichi Hosoi <youkichihosoi@google.com> | 2021-11-16 18:05:57 +0900 |
|---|---|---|
| committer | Youkichi Hosoi <youkichihosoi@google.com> | 2021-11-24 12:54:37 +0900 |
| commit | 3632fde8513b42fb277496281926e5e517f1d160 (patch) | |
| tree | 298e469be241ee7ab50ed0127dab93d2281b11da /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | a7c80fad92596aacbf8bbf4ac97455dc1e5d7a3b (diff) | |
Expose StorageVolume.isStub() as @SystemApi API
StorageVolume.isStub() indicates whether the volume is a StubVolume,
i.e. whether it is a volume managed from outside Android (e.g. from
Chrome OS).
It needs to be exposed as a @SystemApi API because the MediaProvider
module will use it to decide whether default folders like Music, Movies,
Pictures, etc. should be automatically created inside a volume; when the
volume is a StubVolume, such automatic creation should be avoided.
Bug: 206019156
Test: m
Test: atest MtpTests
Test: atest StorageManagerTest#testGetPrimaryVolume
Change-Id: I9a9bd170408c5d92c94eac33cdab9aea394b324e
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
