Skip to content
Commit 01e574ab 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
Merged-In: Ifba1fbc3855c4406b8b9b98e9abe19bae987aff9
parent bef40438
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment