Skip to content
Commit 3d83dc97 authored by Elliot Sisteron's avatar Elliot Sisteron
Browse files

Include stopped packages for Safety Center user initiated broadcasts.

By default, stopped packages are excluded when sending a broadcast.
This is to avoid abuse for packages that wish to use system broadcasts
to get woken up.

This may cause issues in the case of Safety Center broadcasts,
as the user may open the UI while one of the target packages
is stopped.

In our case, all the packages we're targeting are known beforehand
(defined in a config file), so including stopped packages seems
adequate. We're also only doing that on user-initiated broadcasts
(page open or button click).

Bug: 283707833
Test: manual
Relnote: Refresh Safety Center for stopped packages too
Change-Id: Icb482fb4b6cdacd111f7b03df8911e1851126f15
parent 8c645092
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment