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

Commit d2617454 authored by Rahul Sabnis's avatar Rahul Sabnis
Browse files

Update javadoc for BluetoothPbapService#setConnectionPolicy to remove

erroneous statement that the profile will be connected if caller passes
in BluetoothProfile.CONNECTION_POLICY_ALLOWED

Bug: 148966894
Test: Manual
Change-Id: I2e4f47cc33c9d875c34773429c72c94e01b7f951
parent fd8c2013
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -471,8 +471,7 @@ public class BluetoothPbapService extends ProfileService implements IObexConnect
    }
    }


    /**
    /**
     * Set connection policy of the profile and connects it if connectionPolicy is
     * Set connection policy of the profile and tries to disconnect it if connectionPolicy is
     * {@link BluetoothProfile#CONNECTION_POLICY_ALLOWED} or disconnects if connectionPolicy is
     * {@link BluetoothProfile#CONNECTION_POLICY_FORBIDDEN}
     * {@link BluetoothProfile#CONNECTION_POLICY_FORBIDDEN}
     *
     *
     * <p> The device should already be paired.
     * <p> The device should already be paired.