OSDN Git Service

Prohibit uninstall of the default (or only) home app
authorChristopher Tate <ctate@google.com>
Tue, 22 Apr 2014 17:17:21 +0000 (10:17 -0700)
committerChristopher Tate <ctate@google.com>
Tue, 22 Apr 2014 17:42:10 +0000 (10:42 -0700)
commitc44d7c6be64be790878ddf1f21c0d9e91d238245
tree9ea7c304dba5357fce7b046ca892f3a8642fdd65
parent52e3681feb64afaefd5cffa5a9e88a97bca4d48d
Prohibit uninstall of the default (or only) home app

We suppress the ability to uninstall (including uninstall of updates to
system-bundled apps) when the package in question is either the only
installed home app, or has been explicitly tagged by the user as the
"every time" home app among all those installed.

Bug 14162565

Change-Id: I582bb0d2abf0911ac68813f4c7e6fd7d17bfc2ca
src/com/android/settings/applications/InstalledAppDetails.java