Remove network capability from CAPABILITY_ALL constant.
We shouldn't include it until we also update OomAdjuster to add it to certain processes. Fixes: 181902246 Test: atest ./tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java Change-Id: I3bfdd2b01c3ba8010e96177e41fc90be3dce8a55 Merged-In: I888764ff22fba92fe2cccf3d8442ed318a19ad2a
This commit is contained in:
@@ -82,7 +82,7 @@ package android.app {
|
||||
method public static boolean isHighEndGfx();
|
||||
method public static void resumeAppSwitches() throws android.os.RemoteException;
|
||||
method @RequiresPermission(android.Manifest.permission.CHANGE_CONFIGURATION) public void scheduleApplicationInfoChanged(java.util.List<java.lang.String>, int);
|
||||
field public static final int PROCESS_CAPABILITY_ALL = 15; // 0xf
|
||||
field public static final int PROCESS_CAPABILITY_ALL = 7; // 0x7
|
||||
field public static final int PROCESS_CAPABILITY_ALL_EXPLICIT = 1; // 0x1
|
||||
field public static final int PROCESS_CAPABILITY_ALL_IMPLICIT = 6; // 0x6
|
||||
field public static final int PROCESS_CAPABILITY_FOREGROUND_CAMERA = 2; // 0x2
|
||||
|
||||
@@ -608,8 +608,7 @@ public class ActivityManager {
|
||||
@TestApi
|
||||
public static final int PROCESS_CAPABILITY_ALL = PROCESS_CAPABILITY_FOREGROUND_LOCATION
|
||||
| PROCESS_CAPABILITY_FOREGROUND_CAMERA
|
||||
| PROCESS_CAPABILITY_FOREGROUND_MICROPHONE
|
||||
| PROCESS_CAPABILITY_NETWORK;
|
||||
| PROCESS_CAPABILITY_FOREGROUND_MICROPHONE;
|
||||
/**
|
||||
* All explicit capabilities. These are capabilities that need to be specified from manifest
|
||||
* file.
|
||||
|
||||
Reference in New Issue
Block a user