diff options
| author | Rahul Sabnis <rahulsabnis@google.com> | 2020-01-30 17:04:54 -0800 |
|---|---|---|
| committer | Rahul Sabnis <rahulsabnis@google.com> | 2020-01-31 10:38:02 -0800 |
| commit | 4ac534bee87afa14d6fdfbba8209b03a16633e20 (patch) | |
| tree | 8633f8e53bc41e0d84370f8ea2604fa564b2c6fb /framework/java/android/bluetooth/BluetoothDevice.java | |
| parent | 8b5b3b2ed91abad0a081f509c0bc23c8b3181aaa (diff) | |
Revert value of BluetoothDevice.ACTION_ALIAS_CHANGED back to
android.bluetooth.device.action.ALIAS_CHANGED from
android.bluetooth.action.ALIAS_CHANGED
Bug: 146158681
Test: Manual
Change-Id: Ie247568ff3e5a750d74f22636aca69e3e74a55f5
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothDevice.java')
| -rw-r--r-- | framework/java/android/bluetooth/BluetoothDevice.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/java/android/bluetooth/BluetoothDevice.java b/framework/java/android/bluetooth/BluetoothDevice.java index 12dc814c34..1872ae03ee 100644 --- a/framework/java/android/bluetooth/BluetoothDevice.java +++ b/framework/java/android/bluetooth/BluetoothDevice.java @@ -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 |
