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
Loading
Please register or sign in to comment