summaryrefslogtreecommitdiffstats
path: root/cmds/pm
diff options
context:
space:
mode:
authorSuchi Amalapurapu <asuchitra@google.com>2010-02-19 09:19:34 -0800
committerSuchi Amalapurapu <asuchitra@google.com>2010-02-19 14:20:54 -0800
commit8946dd3355fc1dcbad872c0546e356474d4cc5de (patch)
tree8b614c938152df8ad809fd9bf03c6876c8a7a58e /cmds/pm
parenteac461cf7c246df737d2b0e7bd30be176a34c36e (diff)
downloadframeworks_base-8946dd3355fc1dcbad872c0546e356474d4cc5de.zip
frameworks_base-8946dd3355fc1dcbad872c0546e356474d4cc5de.tar.gz
frameworks_base-8946dd3355fc1dcbad872c0546e356474d4cc5de.tar.bz2
Move package from internal to external and vice versa.
Diffstat (limited to 'cmds/pm')
-rw-r--r--cmds/pm/src/com/android/commands/pm/Pm.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds/pm/src/com/android/commands/pm/Pm.java b/cmds/pm/src/com/android/commands/pm/Pm.java
index ff16c6e..fc5707d 100644
--- a/cmds/pm/src/com/android/commands/pm/Pm.java
+++ b/cmds/pm/src/com/android/commands/pm/Pm.java
@@ -600,6 +600,7 @@ public final class Pm {
} else if (opt.equals("-t")) {
installFlags |= PackageManager.INSTALL_ALLOW_TEST;
} else if (opt.equals("-s")) {
+ // Override if -s option is specified.
installFlags |= PackageManager.INSTALL_EXTERNAL;
} else {
System.err.println("Error: Unknown option: " + opt);