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

Commit 7363fc0a authored by Etienne Ruffieux's avatar Etienne Ruffieux
Browse files

Added SystemApi annotation to REASON_BLUETOOTH_BROADCAST

As Android Bluetooth becomes a mainline module, we need to
remove all hidden API usages. BluetoothManagerService is
using REASON_BLUETOOTH_BROADCAST so we have to make it
accessible to the Bluetooth module.

Tag: #feature
Bug: 211851706
Test: make
Change-Id: I99ade4673836c068b2e643ce5e56d9ad0454233f
parent 0a907943
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -235,7 +235,6 @@ public class PowerExemptionManager {
    public static final int REASON_LOCKED_BOOT_COMPLETED = 202;
    /**
     * All Bluetooth broadcasts.
     * @hide
     */
    public static final int REASON_BLUETOOTH_BROADCAST = 203;
    /**
+1 −0
Original line number Diff line number Diff line
@@ -8482,6 +8482,7 @@ package android.os {
    field public static final int EVENT_UNSPECIFIED = 0; // 0x0
    field public static final int REASON_ACCOUNT_TRANSFER = 104; // 0x68
    field public static final int REASON_ACTIVITY_RECOGNITION = 103; // 0x67
    field public static final int REASON_BLUETOOTH_BROADCAST = 203; // 0xcb
    field public static final int REASON_GEOFENCING = 100; // 0x64
    field public static final int REASON_LOCATION_PROVIDER = 312; // 0x138
    field public static final int REASON_OTHER = 1; // 0x1