OSDN Git Service

Move 'un/install' to cmd
authorTodd Kennedy <toddke@google.com>
Wed, 4 Nov 2015 01:08:55 +0000 (17:08 -0800)
committerTodd Kennedy <toddke@google.com>
Fri, 6 Nov 2015 17:27:22 +0000 (09:27 -0800)
commitec059d839de6d061085dcfd85ce6565dcf4d5b69
tree4c308cdb1e40506262faa5146c806968a3911b08
parent8382f98f6246c514106ca2bd88ab9f3c8d2ff5c8
Move 'un/install' to cmd

Move the implementation of the install variants and uninstall to the cmd
command. Additionally, make two other important changes: 1) replace calls
to the legacy PackageManager#installPackageAsUser with the PackageInstaller
2) allow streaming package bits for 'pm install'

Change-Id: Ia49dac0ccd6470f9d1c1964bdeb3c0b22b856075
cmds/pm/src/com/android/commands/pm/Pm.java
core/java/android/os/ShellCommand.java
services/core/java/com/android/server/pm/PackageManagerShellCommand.java