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

Commit d3efb1b7 authored by Rahul Sabnis's avatar Rahul Sabnis Committed by android-build-merger
Browse files

Merge "Refactor BluetoothHeadset APIs used by Settings"

am: b3de542cf7

Change-Id: I239a1aa1ca4e8e374e99d7f4d4d25fb3bb6d1691
parents 95d7b90a d9798613
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -559,7 +559,7 @@ public final class BluetoothHeadset implements BluetoothProfile {
     *
     * <p> The device should already be paired.
     * Priority can be one of {@link BluetoothProfile#PRIORITY_ON} or
     * {@link BluetoothProfile#PRIORITY_OFF},
     * {@link BluetoothProfile#PRIORITY_OFF}
     *
     * @param device Paired bluetooth device
     * @param priority
@@ -1133,8 +1133,9 @@ public final class BluetoothHeadset implements BluetoothProfile {
     * is active.
     * @hide
     */
    @SystemApi
    @Nullable
    @RequiresPermission(android.Manifest.permission.BLUETOOTH)
    @UnsupportedAppUsage
    public BluetoothDevice getActiveDevice() {
        if (VDBG) {
            Log.d(TAG, "getActiveDevice");
+1 −1
Original line number Diff line number Diff line
@@ -557,7 +557,7 @@ public final class BluetoothHeadsetClient implements BluetoothProfile {
     * Set priority of the profile
     *
     * <p> The device should already be paired.
     * Priority can be one of {@link #PRIORITY_ON} or {@link #PRIORITY_OFF},
     * Priority can be one of {@link #PRIORITY_ON} or {@link #PRIORITY_OFF}
     *
     * @param device Paired bluetooth device
     * @param priority