Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 384570b5 authored by Willie Koomson's avatar Willie Koomson
Browse files

Avoid updating zombie provider's masked state

This change updates AppWidgetServiceImpl to
 - avoid updating the provider masked state if the provider is a zombie
 - reload provider masked state when the provider is reified

This fixes a bug where widgets are stuck in masked state after a
restore. This happens when the service masks a zombie provider in
reloadProviderMaskedStateLocked, but cannot unmask it in
updateWidgetPackageStoppedMaskedState because it cannot match the
PACKAGE_UNSTOPPED broadcast to the zombie provider's UID (because we do
not know the UID yet).

Bug: 372229859
Test: see bug for repro steps
Flag: EXEMPT bug fix
Change-Id: Ie4e8efe1d33890f6037dfd4074886f82652e45f2
parent 743e80dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment