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
This commit is contained in:
Etienne Ruffieux 2022-01-12 15:49:19 +00:00
parent 0a9079431b
commit 7363fc0a38
2 changed files with 1 additions and 1 deletions

View File

@ -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;
/**

View File

@ -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