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

Commit 91edb7e6 authored by Rahul Sabnis's avatar Rahul Sabnis
Browse files

Revert "Re-add getAliasName to fix build breakage"

This reverts commit d14320d2.

Reason for revert: Removing method again and will make changes on internal to prevent breakage

Change-Id: I41cb918df90a203fd6a03f4b51464300de9428f8
parent d14320d2
Loading
Loading
Loading
Loading
+0 −18
Original line number Diff line number Diff line
@@ -1094,24 +1094,6 @@ public final class BluetoothDevice implements Parcelable {
        return false;
    }

    /**
     * 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}