Skip to content
Commit 12d2922a authored by Sudheer Shanka's avatar Sudheer Shanka
Browse files

Fix default value for mUidState.get.

In updateRulesForWhitelistedPowerSaveUL, we are using
mUidState.get(uid). So if the uid didn't already exist, it will
give 0 which represents PROCESS_STATE_PERSISTENT and this is
inconsistent with it's other usages.

Bug: 35766310
Test: verified that apps coming to foreground, while the battery saver is on,
      have access to network.
Change-Id: I42a8455862e3a15e14825d9cf74e05a6f1dbe298
parent 3b264fa2
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