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
1 file changed