diff options
author | Risan <risan@google.com> | 2018-11-13 12:12:23 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-11-13 12:12:23 -0800 |
commit | f8771d362c0058d90f6c32a35cb15aa0b86f11f4 (patch) | |
tree | eb7541dfb7f5e0f7c8e9880a0209ac762c879dce /cmds | |
parent | f84f1fd2d9bcb7af7b777d237cf36e9185499e83 (diff) | |
parent | ee32e0d473a28437d214a577bcf2199059b9d98d (diff) |
Merge "Introducing StubVolume in StorageManager" am: b499af866c am: eb871cc916
am: ee32e0d473
Change-Id: I4098132df9833b7cbac0db9bdadac297d324a822
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/sm/src/com/android/commands/sm/Sm.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmds/sm/src/com/android/commands/sm/Sm.java b/cmds/sm/src/com/android/commands/sm/Sm.java index c6d717a55f34..783c8c45d603 100644 --- a/cmds/sm/src/com/android/commands/sm/Sm.java +++ b/cmds/sm/src/com/android/commands/sm/Sm.java @@ -127,6 +127,8 @@ public final class Sm { filterType = VolumeInfo.TYPE_PRIVATE; } else if ("emulated".equals(filter)) { filterType = VolumeInfo.TYPE_EMULATED; + } else if ("stub".equals(filter)) { + filterType = VolumeInfo.TYPE_STUB; } else { filterType = -1; } @@ -314,7 +316,7 @@ public final class Sm { private static int showUsage() { System.err.println("usage: sm list-disks [adoptable]"); - System.err.println(" sm list-volumes [public|private|emulated|all]"); + System.err.println(" sm list-volumes [public|private|emulated|stub|all]"); System.err.println(" sm has-adoptable"); System.err.println(" sm get-primary-storage-uuid"); System.err.println(" sm set-force-adoptable [on|off|default]"); |