2005382 Disable long press on Bluetooth device when BT is off
1930418 Grey BT device when BT is off
This commit is contained in:
@@ -102,11 +102,11 @@ public class BluetoothDevicePreference extends Preference implements LocalBlueto
|
||||
|
||||
@Override
|
||||
protected void onBindView(View view) {
|
||||
super.onBindView(view);
|
||||
|
||||
// Disable this view if the bluetooth enable/disable preference view is off
|
||||
setDependency("bt_checkbox");
|
||||
|
||||
super.onBindView(view);
|
||||
|
||||
ImageView btClass = (ImageView) view.findViewById(R.id.btClass);
|
||||
btClass.setImageResource(mLocalDevice.getBtClassDrawable());
|
||||
btClass.setAlpha(isEnabled() ? 255 : sDimAlpha);
|
||||
|
Reference in New Issue
Block a user