From ef301823d34ce291ab5ec820578e2d75c2a9d520 Mon Sep 17 00:00:00 2001 From: ryanywlin Date: Fri, 11 May 2018 20:25:13 +0800 Subject: [PATCH] Implement getProfileId() method in the subclass Add getProfileId() method in LocalBluetoothProfile interface, implement this method in subclass. Bug: 76447449 Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothDetailsProfilesControllerTest -j28 Change-Id: I8082716b7cdaf7394ee2f8a4b636058716af7bb1 --- .../bluetooth/BluetoothDetailsProfilesControllerTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/robotests/src/com/android/settings/bluetooth/BluetoothDetailsProfilesControllerTest.java b/tests/robotests/src/com/android/settings/bluetooth/BluetoothDetailsProfilesControllerTest.java index 53fc1e6928b..2f77af62f6e 100644 --- a/tests/robotests/src/com/android/settings/bluetooth/BluetoothDetailsProfilesControllerTest.java +++ b/tests/robotests/src/com/android/settings/bluetooth/BluetoothDetailsProfilesControllerTest.java @@ -155,6 +155,11 @@ public class BluetoothDetailsProfilesControllerTest extends BluetoothDetailsCont return true; } + @Override + public int getProfileId() { + return 0; + } + @Override public int getOrdinal() { return 0;