Merge "Reduce NPMS threshold for network restrictions to IMP_FG."

This commit is contained in:
Sudheer Shanka
2021-01-16 00:07:35 +00:00
committed by Android (Google) Code Review

View File

@@ -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