Index: chrome/android/java/src/org/chromium/chrome/browser/BluetoothChooserDialog.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/BluetoothChooserDialog.java b/chrome/android/java/src/org/chromium/chrome/browser/BluetoothChooserDialog.java |
index d4b0236a4efd2a632a88ee9c17ed0c55bbd43959..13b491ae759cf2d9710fb10a694b6714954c3586 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/BluetoothChooserDialog.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/BluetoothChooserDialog.java |
@@ -372,17 +372,12 @@ public class BluetoothChooserDialog |
} |
@VisibleForTesting |
- Drawable getConnectedIcon() { |
- return mConnectedIcon.getConstantState().newDrawable().mutate(); |
- } |
- |
- @VisibleForTesting |
@CalledByNative |
void addOrUpdateDevice(String deviceId, String deviceName, boolean isGATTConnected) { |
Drawable icon = null; |
String iconDescription = null; |
if (isGATTConnected) { |
- icon = getConnectedIcon(); |
+ icon = mConnectedIcon.getConstantState().newDrawable(); |
iconDescription = mConnectedIconDescription; |
} |