OSDN Git Service

Make the BT class icon visible.
authorAmith Yamasani <yamasani@google.com>
Thu, 2 Jun 2011 18:48:55 +0000 (11:48 -0700)
committerAmith Yamasani <yamasani@google.com>
Thu, 2 Jun 2011 18:48:55 +0000 (11:48 -0700)
This change is required due to a change in the framework to accomodate smaller screen sizes.

Bug: 4519989
Change-Id: I77c5d72b29dec69df2bdd4d82811f4828ad155a6

src/com/android/settings/bluetooth/BluetoothDevicePreference.java

index 2dba279..391c941 100644 (file)
@@ -120,7 +120,7 @@ public final class BluetoothDevicePreference extends Preference implements
         ImageView btClass = (ImageView) view.findViewById(android.R.id.icon);
         btClass.setImageResource(getBtClassDrawable());
         btClass.setAlpha(isEnabled() ? 255 : sDimAlpha);
-
+        btClass.setVisibility(View.VISIBLE);
         mDeviceSettings = (ImageView) view.findViewById(R.id.deviceDetails);
         if (mOnSettingsClickListener != null) {
             mDeviceSettings.setOnClickListener(this);