summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorjhtop.kim <jhtop.kim@samsung.com>2011-07-18 11:03:09 +0900
committerJake Hamby <jhamby@google.com>2011-07-18 15:54:14 -0700
commit298365bbf3e2203aa94e8c2a69a0f5ab7623f0e2 (patch)
tree02a1420cd44be5dc27b6f838f0e80779f7606df3 /src/com
parent01525c9a05ad4e6c7488f01c9879f47f07dcf728 (diff)
downloadpackages_apps_settings-298365bbf3e2203aa94e8c2a69a0f5ab7623f0e2.zip
packages_apps_settings-298365bbf3e2203aa94e8c2a69a0f5ab7623f0e2.tar.gz
packages_apps_settings-298365bbf3e2203aa94e8c2a69a0f5ab7623f0e2.tar.bz2
Bluetooth : Fix for changing the BT device icon if the calss is null (mouse)
- mouse is displayed as keyboard. if class is null, default icon is keyboard in hid profile Change-Id: I2ff928ce1032d8eb492d81fff2e7fb218970b768 Signed-off-by: jhtop.kim <jhtop.kim@samsung.com>
Diffstat (limited to 'src/com')
-rwxr-xr-xsrc/com/android/settings/bluetooth/DeviceProfilesSettings.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/bluetooth/DeviceProfilesSettings.java b/src/com/android/settings/bluetooth/DeviceProfilesSettings.java
index c3dc5bc..cee2a53 100755
--- a/src/com/android/settings/bluetooth/DeviceProfilesSettings.java
+++ b/src/com/android/settings/bluetooth/DeviceProfilesSettings.java
@@ -202,7 +202,7 @@ public final class DeviceProfilesSettings extends SettingsPreferenceFragment
pref.setOrder(getProfilePreferenceIndex(profile.getOrdinal()));
pref.setOnExpandClickListener(this);
- int iconResource = profile.getDrawableResource(null); // FIXME: get BT class for this?
+ int iconResource = profile.getDrawableResource(mCachedDevice.getBtClass());
if (iconResource != 0) {
pref.setProfileDrawable(getResources().getDrawable(iconResource));
}