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

Skip to content
Commit 25e7369a authored by Hui Yu's avatar Hui Yu
Browse files

Allow BG-launch FGS if it is on DeviceIdleController's allowList.

Add a device_config flag default_fgs_starts_temp_allowlist_enabled to
allow BG-launch FGS if the uid is on DeviceIdleController's allowList.

To enable this feature, turn on BG-launch restriction flag first.
adb shell device_config put activity_manager default_fgs_starts_restriction_enabled  true

Then turn on allowList flag:
adb shell device_config put activity_manager default_fgs_starts_temp_allowlist_enabled true

Bug: 157473819
Test: adb shell device_config put activity_manager default_fgs_starts_temp_allowlist_enabled true
adb shell device_config get activity_manager default_fgs_starts_temp_allowlist_enabled

Change-Id: Id249ae98bf0e2f06efcee4ab28e5796530f64b2b
parent db2bcf83
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