Rename isConnectable()

LocalBluetoothProfile.isConnectable() checks whether the user can initiate a connection
for a specific profile, not really whether the profile is connectable.

Change-Id: If6c6cd1554acf35db2460ea6ddb65148a7e86e45
Bug: 79982487
Test: atest tests/robotests/src/com/android/settings/bluetooth/BluetoothDetailsProfilesControllerTest.java
This commit is contained in:
Leon Liao
2018-09-18 12:21:51 +08:00
parent 41f9566da8
commit 6786e32a73

View File

@@ -106,7 +106,7 @@ public class BluetoothDetailsProfilesControllerTest extends BluetoothDetailsCont
}
@Override
public boolean isConnectable() {
public boolean accessProfileEnabled() {
return true;
}