Skip to content
Commit 51a50fee authored by hughchen's avatar hughchen
Browse files

Update connect/disconnect Bluetooth api

This CL is used to update following Bluetooth api:

1. Use setConnectionPolicy(device, CONNECTION_POLICY_ALLOWED)
   instead of connect(device) when connect to profile.
2. Use setConnectionPolicy(device, CONNECTION_POLICY_FORBIDDEN)
   instead of disconnect(device) when disconnect to profile.

Fixes: 141582844
Test: manually
Change-Id: Ifba1fbc3855c4406b8b9b98e9abe19bae987aff9
parent bde15c3c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment