Flip the icon states for Bluetooth profile auto-connect settings
Bug: 4109035 Change-Id: Idb37a583957eeb8ea4c0b804e7933fd8e9af98e3
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user