OSDN Git Service

Fix permission privilege w.r.t. updated system apps
authorChristopher Tate <ctate@google.com>
Mon, 29 Jul 2013 21:20:15 +0000 (14:20 -0700)
committerChristopher Tate <ctate@google.com>
Tue, 30 Jul 2013 00:13:35 +0000 (17:13 -0700)
commit072252cd486b260192f26dfb8e67ffd454b10a59
treef1b54f7c410c19a8758d55fc36dbdeb5d2b1b1ba
parentd8501485e30c1184292f15349b9e439343ff5b60
Fix permission privilege w.r.t. updated system apps

Note that it is *intentional* that even a privileged app cannot
add new privileged permissions via unbundled update.  The set of
privileged permissions granted is strictly limited to those used
by the apk file installed as privileged.

Bug 10027033

Change-Id: I974bae0671c1962e4526d51dd9a0c53bcd27323e
services/java/com/android/server/pm/PackageManagerService.java