Revert NPMS threshold to BFGS.
Earlier, we changed the threshold to IMP_FG to allow HPJs to bypass power saving network restrictions but later we made a change to instead use network capability for HPJs, so reverting the threshold to BGFS. Bug: 177641226 Test: atest ./tests/cts/hostside/src/com/android/cts/net/HostsideRestrictBackgroundNetworkTests.java Change-Id: I6c1916ca9e8ff9555bbacda678ce53f8373c8960
This commit is contained in:
@@ -172,7 +172,7 @@ public class NetworkPolicyManager {
|
||||
|
||||
/** @hide */
|
||||
public static final int FOREGROUND_THRESHOLD_STATE =
|
||||
ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND;
|
||||
ActivityManager.PROCESS_STATE_BOUND_FOREGROUND_SERVICE;
|
||||
|
||||
/**
|
||||
* {@link Intent} extra that indicates which {@link NetworkTemplate} rule it
|
||||
|
||||
Reference in New Issue
Block a user