OSDN Git Service

Make SESSION_UPDATED broadcast explicit.
authorDario Freni <dariofreni@google.com>
Tue, 26 Mar 2019 19:36:26 +0000 (19:36 +0000)
committerDario Freni <dariofreni@google.com>
Tue, 26 Mar 2019 20:23:07 +0000 (20:23 +0000)
commita3e6b08a37656f5d163699c063a7233374665bac
tree639af3fbef68e6d12495f730dc0fdc5e1ca83636
parent8c84b92e586bb4adbb0c208e8ee1eca625692ca7
Make SESSION_UPDATED broadcast explicit.

This restricts the broadcast message only to the original installer of
the package. At the same time, this allows the broadcast receiver to
declare the receiver in the android manifest for this message, which
would otherwise be ignored if the broadcast message was implicit.

Change-Id: Ic1d8851ba8f3cee83ad715e488b60261a07af8d8
Fix: 124897340
Test: atest CtsStagedInstallHostTestCases (modified in separate CL)
services/core/java/com/android/server/pm/PackageManagerService.java