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

Skip to content
Commit bcdf21f5 authored by Jiyong Park's avatar Jiyong Park Committed by Jeongik Cha
Browse files

Apps can opt in to be stoppable in the task manager

Before this change, a system apps having foreground service wasn't
stoppable in the task manager. The rationale for it was that users being
able to stop system apps can be risky. However, that at the same time
meant that users have no way to stop such apps even if the apps can be
stopped without any risk.

This change adds an array stoppable_fgs_system_apps, which device makers
can put the package name of the system apps can be safely stopped.

Bug: 376564917
Test: watch SystemUITests in TH
Test: check if there is a stop button in the UI with flag and config
Flag: com.android.systemui.stoppable_fgs_system_app
Change-Id: I09a946fdcba695f2ae0e0da333cce1e43c7c7421
parent 9780d655
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