Skip to content
Commit 3d33a893 authored by Jing Ji's avatar Jing Ji
Browse files

Decouple the thresholds of the background restrictions

Previously, to reach the threshold of the bg restricted level, it has
to reach the threshold of the restricted bucket level before that.
However we're using different dimensions of battery usage when
comparing to these thresholds.

So it'll make more sense to decouple them.

Bug: 203105544
Test: atest FrameworksMockingServicesTests:BackgroundRestrictionTest
Change-Id: Idee31d6615cbbee0bac2abe232589346d838a9ba
parent 923eb82c
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