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:
@@ -106,7 +106,7 @@ public class BluetoothDetailsProfilesControllerTest extends BluetoothDetailsCont
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isConnectable() {
|
public boolean accessProfileEnabled() {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user