diff options
Diffstat (limited to 'cmds/pm')
-rw-r--r-- | cmds/pm/src/com/android/commands/pm/Pm.java | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/cmds/pm/src/com/android/commands/pm/Pm.java b/cmds/pm/src/com/android/commands/pm/Pm.java index cfc2e75..659d70f 100644 --- a/cmds/pm/src/com/android/commands/pm/Pm.java +++ b/cmds/pm/src/com/android/commands/pm/Pm.java @@ -92,11 +92,6 @@ public final class Pm { return; } - if ("mountsd".equals(op)) { - runMountSd(); - return; - } - if ("uninstall".equals(op)) { runUninstall(); return; @@ -646,37 +641,6 @@ public final class Pm { } } - private void runMountSd() { - String opt; - boolean mount = false; - while ((opt=nextOption()) != null) { - if (opt.equals("-m")) { - String mountStr = nextOptionData(); - if (mountStr == null) { - System.err.println("Error: no value specified for -m"); - showUsage(); - return; - } - if ("true".equalsIgnoreCase(mountStr)) { - mount = true; - } else if ("false".equalsIgnoreCase(mountStr)) { - mount = false; - } else { - System.err.println("Error: no value specified for -m"); - showUsage(); - return; - } - } - } - - try { - mPm.updateExternalMediaStatus(mount); - } catch (RemoteException e) { - System.err.println(e.toString()); - System.err.println(PM_NOT_RUNNING_ERR); - } - } - class PackageDeleteObserver extends IPackageDeleteObserver.Stub { boolean finished; boolean result; @@ -866,7 +830,6 @@ public final class Pm { System.err.println(" pm path PACKAGE"); System.err.println(" pm install [-l] [-r] [-t] [-i INSTALLER_PACKAGE_NAME] [-s] [-f] PATH"); System.err.println(" pm uninstall [-k] PACKAGE"); - System.err.println(" pm mountsd [-m true/false]"); System.err.println(" pm enable PACKAGE_OR_COMPONENT"); System.err.println(" pm disable PACKAGE_OR_COMPONENT"); System.err.println(""); |