Merge "Revert value of BluetoothDevice.ACTION_ALIAS_CHANGED back to android.bluetooth.device.action.ALIAS_CHANGED from android.bluetooth.action.ALIAS_CHANGED" am: ea711aba95 am: 8752cb4fc7 am: bab7bb92bf
Change-Id: I3e6e9f7dd0ae3472bc97e3b28fdb6af48cb8e091
This commit is contained in:
@@ -8631,7 +8631,7 @@ package android.bluetooth {
|
||||
field public static final String ACTION_ACL_CONNECTED = "android.bluetooth.device.action.ACL_CONNECTED";
|
||||
field public static final String ACTION_ACL_DISCONNECTED = "android.bluetooth.device.action.ACL_DISCONNECTED";
|
||||
field public static final String ACTION_ACL_DISCONNECT_REQUESTED = "android.bluetooth.device.action.ACL_DISCONNECT_REQUESTED";
|
||||
field public static final String ACTION_ALIAS_CHANGED = "android.bluetooth.action.ALIAS_CHANGED";
|
||||
field public static final String ACTION_ALIAS_CHANGED = "android.bluetooth.device.action.ALIAS_CHANGED";
|
||||
field public static final String ACTION_BOND_STATE_CHANGED = "android.bluetooth.device.action.BOND_STATE_CHANGED";
|
||||
field public static final String ACTION_CLASS_CHANGED = "android.bluetooth.device.action.CLASS_CHANGED";
|
||||
field public static final String ACTION_FOUND = "android.bluetooth.device.action.FOUND";
|
||||
|
||||
@@ -23,6 +23,7 @@ import android.annotation.Nullable;
|
||||
import android.annotation.RequiresPermission;
|
||||
import android.annotation.SdkConstant;
|
||||
import android.annotation.SdkConstant.SdkConstantType;
|
||||
import android.annotation.SuppressLint;
|
||||
import android.annotation.SystemApi;
|
||||
import android.compat.annotation.UnsupportedAppUsage;
|
||||
import android.content.Context;
|
||||
@@ -179,9 +180,10 @@ public final class BluetoothDevice implements Parcelable {
|
||||
* <p>Always contains the extra field {@link #EXTRA_DEVICE}.
|
||||
* <p>Requires {@link android.Manifest.permission#BLUETOOTH} to receive.
|
||||
*/
|
||||
@SuppressLint("ActionValue")
|
||||
@SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
|
||||
public static final String ACTION_ALIAS_CHANGED =
|
||||
"android.bluetooth.action.ALIAS_CHANGED";
|
||||
"android.bluetooth.device.action.ALIAS_CHANGED";
|
||||
|
||||
/**
|
||||
* Broadcast Action: Indicates a change in the bond state of a remote
|
||||
|
||||
Reference in New Issue
Block a user