commit | cadc63cbeb99faeb58836b634a823a135467f5fe | [log] [tgz] |
---|---|---|
author | hughchen <hughchen@google.com> | Mon Feb 03 19:44:46 2020 +0800 |
committer | hughchen <hughchen@google.com> | Wed Feb 05 16:15:46 2020 +0800 |
tree | f30bd463d53a7e9e8ffd8df006b477a5551429a0 | |
parent | ef4dc78c46b23c6b16eb0f89ecfd8ab474bbc267 [diff] |
Update LocalBluetoothProfile api This CL include following change: 1. Rename isPreferred() to isEnabled(). 2. Rename getPreferred() to getConnectionPolicy(). 3. Rename setPreferred() to setEnabled(). 4. Remove connect()/disconnect() since when call setEnabled() BT stack will base on input state to do connect/disconnect automatically. 5. Add/update test case. Bug: 141582844 Test: make -j42 RunSettingsLibRoboTests Change-Id: I9aa7d5157028671fcda705bf5cb957c26c4204ad