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

Commit ac23d0f8 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 6250822 from d03d6628e4d79c3ccf48c714d7814c2c7af52380 to rvc-release

Change-Id: I5cb93a80ea36c1b5bdc6b49fc0e3ad1859973fd6
parents 77e210b2 c78ccdc3
Loading
Loading
Loading
Loading
+9 −6
Original line number Diff line number Diff line
@@ -278,16 +278,19 @@ public class BluetoothPbap implements BluetoothProfile {
    }

    /**
     * Pbap does not store connection policy, so this function only disconnects pbap if
     * connectionPolicy is {@link #CONNECTION_POLICY_FORBIDDEN}.
     * Set connection policy of the profile and tries to disconnect it if connectionPolicy is
     * {@link BluetoothProfile#CONNECTION_POLICY_FORBIDDEN}
     *
     * <p> The device should already be paired.
     * Connection policy can be one of {@link #CONNECTION_POLICY_ALLOWED},
     * {@link #CONNECTION_POLICY_FORBIDDEN}, {@link #CONNECTION_POLICY_UNKNOWN}
     * Connection policy can be one of:
     * {@link BluetoothProfile#CONNECTION_POLICY_ALLOWED},
     * {@link BluetoothProfile#CONNECTION_POLICY_FORBIDDEN},
     * {@link BluetoothProfile#CONNECTION_POLICY_UNKNOWN}
     *
     * @param device Paired bluetooth device
     * @param connectionPolicy determines whether to disconnect the device
     * @return true if pbap is successfully disconnected, false otherwise
     * @param connectionPolicy is the connection policy to set to for this profile
     * @return true if connectionPolicy is set, false on error
     *
     * @hide
     */
    @SystemApi