OSDN Git Service

pm shell command to uninstall system updates
authorPatrick Baumann <patb@google.com>
Mon, 12 Feb 2018 19:45:23 +0000 (11:45 -0800)
committerPatrick Baumann <patb@google.com>
Tue, 13 Feb 2018 16:20:47 +0000 (16:20 +0000)
commita980e14014d49f324a74180a81532944a42cd7c7
treeba0dfbb46aad9103a821f6b0ba8478bb03f1ad15
parent40ce09581d8ef85ef9d5222d9b7c875429e913d1
pm shell command to uninstall system updates

This change introduces a new package manager shell command that
will automatically uninstall any updated system apps, falling back
to the version that is prebaked into the system image.

Change-Id: Ic2952394baadeea6286e0a87343201e564ffdfb9
Fixes: 21088599
Test: manual - run before SUW and after; see updates uninstalled
services/core/java/com/android/server/pm/PackageManagerShellCommand.java