OSDN Git Service

Update PackageMonitor to recognize new 'replacing' semantics
authorChristopher Tate <ctate@google.com>
Thu, 9 Jan 2014 00:54:25 +0000 (16:54 -0800)
committerChristopher Tate <ctate@google.com>
Mon, 27 Jan 2014 19:38:45 +0000 (11:38 -0800)
commit8b3e3ecc3d1a0ab45c02e7cb84bc7db856d21f1d
tree7e4ec2c998efc0f3001a36391871bf0c7f9f5202
parent084d986c3a45e484283591eded9a6974b22b4799
Update PackageMonitor to recognize new 'replacing' semantics

The ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE broadcast now uses the
EXTRA_REPLACING intent extra when it is sent as part of an upgrade operation
on a forward-locked application.  Update PackageMonitor to recognize this
new information and express it appropriately to the observer.

Bug 11988313

Change-Id: I34dfaa965dd322f4fa8945e7b83c9f2e8cf5269a
core/java/com/android/internal/content/PackageMonitor.java
services/core/java/com/android/server/pm/PackageManagerService.java