OSDN Git Service

Bootstrap installed system apps only when the target user is running
authorChristopher Tate <ctate@google.com>
Wed, 1 May 2013 21:17:53 +0000 (14:17 -0700)
committerChristopher Tate <ctate@google.com>
Wed, 1 May 2013 21:25:26 +0000 (14:25 -0700)
commit3335644f7ae060c170f457ebf8c61622f56ae9a7
treedfd97175b3b1dc7c5236f8ebcac6d0919d71402e
parent4e0ae8d6fdc4646a90949ddf95fd8d1f7a22055a
Bootstrap installed system apps only when the target user is running

I.e. don't bother trying to send a BOOT_COMPLETED broadcast to the
newly-installed/enabled system app when its host user isn't live.

Also use the static isSystemApp()-type helpers instead of duplicating
those tests locally.

Bug 8594153

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