Flip the icon states for Bluetooth profile auto-connect settings

Bug: 4109035
Change-Id: Idb37a583957eeb8ea4c0b804e7933fd8e9af98e3
This commit is contained in:
Amith Yamasani
2011-03-15 15:14:48 -07:00
parent 91d0b30461
commit f502eaba0a

View File

@@ -78,8 +78,8 @@ final class BluetoothProfilePreference extends Preference implements OnClickList
mProfileExpandView.setOnClickListener(this); mProfileExpandView.setOnClickListener(this);
mProfileExpandView.setTag(mProfile); mProfileExpandView.setTag(mProfile);
mProfileExpandView.setImageResource(mExpanded mProfileExpandView.setImageResource(mExpanded
? com.android.internal.R.drawable.expander_open_holo_dark ? com.android.internal.R.drawable.expander_close_holo_dark
: com.android.internal.R.drawable.expander_close_holo_dark); : com.android.internal.R.drawable.expander_open_holo_dark);
} else { } else {
mProfileExpandView.setVisibility(View.GONE); mProfileExpandView.setVisibility(View.GONE);
} }