Remove unused constant.

All prior uses have been migrated to the new constant.

Bug: 135214188
Test: Android builds
Change-Id: Ifb63ff6e00834851b91db737ab20506ef19c160d
This commit is contained in:
Kweku Adams
2023-03-29 15:44:18 +00:00
parent 1dfa76c9e7
commit cc466ad44f
2 changed files with 0 additions and 9 deletions

View File

@@ -147,7 +147,6 @@ package android.app {
method @RequiresPermission(android.Manifest.permission.DUMP) public void waitForBroadcastIdle();
field public static final long LOCK_DOWN_CLOSE_SYSTEM_DIALOGS = 174664365L; // 0xa692aadL
field public static final int PROCESS_CAPABILITY_ALL_IMPLICIT = 6; // 0x6
field @Deprecated public static final int PROCESS_CAPABILITY_NETWORK = 8; // 0x8
field public static final int PROCESS_CAPABILITY_POWER_RESTRICTED_NETWORK = 8; // 0x8
field public static final int PROCESS_STATE_FOREGROUND_SERVICE = 4; // 0x4
field public static final int PROCESS_STATE_TOP = 2; // 0x2

View File

@@ -885,14 +885,6 @@ public class ActivityManager {
/** @hide Process can access network despite any power saving restrictions */
@TestApi
public static final int PROCESS_CAPABILITY_POWER_RESTRICTED_NETWORK = 1 << 3;
/**
* @hide
* @deprecated Use {@link #PROCESS_CAPABILITY_POWER_RESTRICTED_NETWORK} instead.
*/
@TestApi
@Deprecated
public static final int PROCESS_CAPABILITY_NETWORK =
PROCESS_CAPABILITY_POWER_RESTRICTED_NETWORK;
/**
* Flag used to indicate whether an app is allowed to start a foreground service from the