From 6786e32a73810e88c5e4558dcbe8fe4651262b6e Mon Sep 17 00:00:00 2001 From: Leon Liao Date: Tue, 18 Sep 2018 12:21:51 +0800 Subject: [PATCH] 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 --- .../bluetooth/BluetoothDetailsProfilesControllerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/robotests/src/com/android/settings/bluetooth/BluetoothDetailsProfilesControllerTest.java b/tests/robotests/src/com/android/settings/bluetooth/BluetoothDetailsProfilesControllerTest.java index d836a975a64..3144f3f52b9 100644 --- a/tests/robotests/src/com/android/settings/bluetooth/BluetoothDetailsProfilesControllerTest.java +++ b/tests/robotests/src/com/android/settings/bluetooth/BluetoothDetailsProfilesControllerTest.java @@ -106,7 +106,7 @@ public class BluetoothDetailsProfilesControllerTest extends BluetoothDetailsCont } @Override - public boolean isConnectable() { + public boolean accessProfileEnabled() { return true; }