diff options
author | hughchen <hughchen@google.com> | 2020-01-09 15:00:53 +0800 |
---|---|---|
committer | hughchen <hughchen@google.com> | 2020-02-06 10:56:33 +0800 |
commit | 01e574ab7491a8cb7585c7d5071e7d8a1e1fbfa6 (patch) | |
tree | c1f10dd1305291b5fe749bcdfd4ec1dff8c4b72d /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | bef404385cbce706ebe58589633136088e885a5c (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
Merged-In: Ifba1fbc3855c4406b8b9b98e9abe19bae987aff9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions