diff options
| author | 2019-10-04 10:50:10 +0200 | |
|---|---|---|
| committer | 2019-10-10 12:46:20 -0700 | |
| commit | 6d18d7799f995bb1b6757046ef43a7e62f08202f (patch) | |
| tree | ed36f5e3ad2af9eedc828fe38031d02bc13d74b6 /libs/androidfw/AssetManager2.cpp | |
| parent | 093f80de20eded9fdbde03c5ae2aa1dad0bc98fd (diff) | |
Broadcast PACKAGE_CHANGED in response to OVERLAY_CHANGED
Consolidate what triggers a package change: teach the package manager to
broadcast PACKAGE_CHANGED in response to the overlay manager
broadcasting OVERLAY_CHANGED. Since the overlay manager listens for
PACKAGE_CHANGED, the package manager will include a new extra in the
intent to act as a secret handshake between the managers that the
overlay manager should ignore the intent in order to prevent an endless
loop.
Bug: 140790688
Test: manual (adb shell cmd overlay enable ... && adb shell dumpsys activity broadcasts # check "Historical broadcasts")
Change-Id: I430efcce5adf0dca03058cd6ff694541f0ac3ef5
Diffstat (limited to 'libs/androidfw/AssetManager2.cpp')
0 files changed, 0 insertions, 0 deletions