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

Commit fa988c63 authored by Willie Koomson's avatar Willie Koomson
Browse files

Disable widgets for stopped packages

Disable widgets whose package has been stopped (PACKAGE_RESTARTED
broadcast). Widgets in this state show the same UI as widgets that are
disabled due to a paused profile or suspended package.

Clicking the disabled UI will send an APPWIDGET_UPDATE broadcast to the
provider, which will also restart the stopped package. The package can
also be started by resizing the disabled widget, or clicking the app
icon.

Bug: 329156796
Test: manual - force close app and check for UI
Flag: ACONFIG android.content.pm.stay_stopped NEXTFOOD
Change-Id: Ie2411fce82d3ec6a0a70973f7a789f5dce268d04
parent b28430af
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