Making Process.NFC_UID SystemApi for modules
In order for Bluetooth to be a mainline module, we need to remove all hidden APIs calls from and to it. NFC_UID is used inside BluetoothManagerService so we need to be able to access it. Tag: #feature Test: make Bug: 211851706 Change-Id: Ie778c4467f5db1efa1f759c405373cc3e34747ca
This commit is contained in:
@@ -351,6 +351,7 @@ package android.os {
|
||||
}
|
||||
|
||||
public class Process {
|
||||
field public static final int NFC_UID = 1027; // 0x403
|
||||
field public static final int VPN_UID = 1016; // 0x3f8
|
||||
}
|
||||
|
||||
|
||||
@@ -129,6 +129,7 @@ public class Process {
|
||||
*/
|
||||
@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.R, trackingBug = 170729553)
|
||||
@TestApi
|
||||
@SystemApi(client = MODULE_LIBRARIES)
|
||||
public static final int NFC_UID = 1027;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user