summaryrefslogtreecommitdiff
path: root/core/java/android/bluetooth/BluetoothDevice.java
diff options
context:
space:
mode:
authorRahul Sabnis <rahulsabnis@google.com>2019-11-18 18:59:55 +0000
committerRahul Sabnis <rahulsabnis@google.com>2019-11-18 18:59:55 +0000
commit91edb7e64254d7a743edeec70a1a45054ecfab9a (patch)
tree9d51267d0b9b577f88f9bc88e69082b6e5634543 /core/java/android/bluetooth/BluetoothDevice.java
parentd14320d21cb79df40bcac98b727e0e056ece3a73 (diff)
Revert "Re-add getAliasName to fix build breakage"
This reverts commit d14320d21cb79df40bcac98b727e0e056ece3a73. Reason for revert: Removing method again and will make changes on internal to prevent breakage Change-Id: I41cb918df90a203fd6a03f4b51464300de9428f8
Diffstat (limited to 'core/java/android/bluetooth/BluetoothDevice.java')
-rw-r--r--core/java/android/bluetooth/BluetoothDevice.java18
1 files changed, 0 insertions, 18 deletions
diff --git a/core/java/android/bluetooth/BluetoothDevice.java b/core/java/android/bluetooth/BluetoothDevice.java
index 19f42b6a4c9e..0be3eca8239e 100644
--- a/core/java/android/bluetooth/BluetoothDevice.java
+++ b/core/java/android/bluetooth/BluetoothDevice.java
@@ -1095,24 +1095,6 @@ public final class BluetoothDevice implements Parcelable {
}
/**
- * Get the Bluetooth alias of the remote device.
- * If Alias is null, get the Bluetooth name instead.
- *
- * @return the Bluetooth alias, or null if no alias or there was a problem
- * @hide
- * @see #getAlias()
- * @see #getName()
- */
- @UnsupportedAppUsage(publicAlternatives = "Use {@link #getName()} instead.")
- public String getAliasName() {
- String name = getAlias();
- if (name == null) {
- name = getName();
- }
- return name;
- }
-
- /**
* Get the most recent identified battery level of this Bluetooth device
* <p>Requires {@link android.Manifest.permission#BLUETOOTH}
*