Reduce NPMS threshold for network restrictions to IMP_FG.
Reducing the threshold from BFGS to IMP_FG to make sure Expedited jobs are not subject to network restrictions during power and data saver modes. Bug: 177641226 Test: atest CtsHostsideNetworkTests:HostsideRestrictBackgroundNetworkTests Change-Id: I936e4c27710a54f61346234b7999f996acca86a1
This commit is contained in:
@@ -160,7 +160,7 @@ public class NetworkPolicyManager {
|
||||
|
||||
/** @hide */
|
||||
public static final int FOREGROUND_THRESHOLD_STATE =
|
||||
ActivityManager.PROCESS_STATE_BOUND_FOREGROUND_SERVICE;
|
||||
ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND;
|
||||
|
||||
/**
|
||||
* {@link Intent} extra that indicates which {@link NetworkTemplate} rule it
|
||||
|
||||
Reference in New Issue
Block a user