commit | 51a50fee08c572f7c8ee8c29a0506443144dcee5 | [log] [tgz] |
---|---|---|
author | hughchen <hughchen@google.com> | Thu Jan 09 15:00:53 2020 +0800 |
committer | hughchen <hughchen@google.com> | Fri Jan 10 10:21:32 2020 +0800 |
tree | f285f7890ec11e68f02c2be60fd4f7b84970477d | |
parent | bde15c3c9ac9ed4ab3c12a7873ce3aa4f8fbc907 [diff] |
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