Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fe195c9b authored by Etienne Ruffieux's avatar Etienne Ruffieux
Browse files

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
parent f1245786
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
  }

+1 −0
Original line number Diff line number Diff line
@@ -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;

    /**