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

Skip to content
Commit 77ff25af authored by Uma M Maradana's avatar Uma M Maradana Committed by Uma Maradana
Browse files

Fix powersave/powersave idle whitelist

Presently powersave/powersaveexceptidle whitelist
generated for only system user installed apps. In multi
user environment system/secondary user apps also required
to be whitelisted. Some apps disabled for system user and
enabled for non-system users, then those apps cannot be
whitelisted for powermode.  System config cannot read the
config other than system/etc, product/etc or vendor/etc
hence these partitions cannot be remounted in production
devices.
Hence to fix this need to enable to get the package info
for all users by adding filter with MATCH_ANY_USER.

Bug: 307334623

Test: Make system app installed for non-SYSTEM user and
      check that app whether it is whitelisted for power
      save/idle power save list.
Change-Id: I55a5a5ba8a01846ab4990589acf714c559310287
parent 8c7e75eb
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