Rename the Utils class in settingslib.bluetooth
Make it more unique to speficy related bluetooth, so change class name from Utils to BluetoothUtils.
Bug: 78676509
Test: atest RunSettingsLibRoboTests
Change-Id: I83baf214fef125a2c2b9bb2526d11f0c8838a82c
diff --git a/packages/SystemUI/src/com/android/systemui/keyboard/KeyboardUI.java b/packages/SystemUI/src/com/android/systemui/keyboard/KeyboardUI.java
index ebd15f5..81d700c 100644
--- a/packages/SystemUI/src/com/android/systemui/keyboard/KeyboardUI.java
+++ b/packages/SystemUI/src/com/android/systemui/keyboard/KeyboardUI.java
@@ -48,7 +48,7 @@
import com.android.settingslib.bluetooth.LocalBluetoothAdapter;
import com.android.settingslib.bluetooth.LocalBluetoothManager;
import com.android.settingslib.bluetooth.LocalBluetoothProfileManager;
-import com.android.settingslib.bluetooth.Utils;
+import com.android.settingslib.bluetooth.BluetoothUtils;
import com.android.systemui.R;
import com.android.systemui.SystemUI;
@@ -183,7 +183,7 @@
mLocalBluetoothAdapter = bluetoothManager.getBluetoothAdapter();
mProfileManager = bluetoothManager.getProfileManager();
bluetoothManager.getEventManager().registerCallback(new BluetoothCallbackHandler());
- Utils.setErrorListener(new BluetoothErrorListener());
+ BluetoothUtils.setErrorListener(new BluetoothErrorListener());
InputManager im = context.getSystemService(InputManager.class);
im.registerOnTabletModeChangedListener(this, mHandler);
@@ -616,7 +616,7 @@
public void onAudioModeChanged() { }
}
- private final class BluetoothErrorListener implements Utils.ErrorListener {
+ private final class BluetoothErrorListener implements BluetoothUtils.ErrorListener {
public void onShowError(Context context, String name, int messageResId) {
mHandler.obtainMessage(MSG_SHOW_ERROR, messageResId, 0 /*unused*/,
new Pair<>(context, name)).sendToTarget();