Fix battery usage screen issues
Tint icons properly Bug: 21077770 Show better icons for wifi and bt (remove the old ones) Bug: 21172936 Also add a way to show fake items in power list for testing. Change-Id: I6b6804673a68190ebc3f2ea32802e30811a7f5b2
This commit is contained in:
@@ -222,7 +222,7 @@ public final class BluetoothDevicePreference extends Preference implements
|
||||
data.className = BluetoothSettings.class.getName();
|
||||
data.title = mCachedDevice.getName();
|
||||
data.screenTitle = context.getResources().getString(R.string.bluetooth_settings);
|
||||
data.iconResId = R.drawable.ic_settings_bluetooth2;
|
||||
data.iconResId = R.drawable.ic_settings_bluetooth;
|
||||
data.enabled = true;
|
||||
|
||||
Index.getInstance(context).updateFromSearchIndexableData(data);
|
||||
@@ -268,6 +268,6 @@ public final class BluetoothDevicePreference extends Preference implements
|
||||
return R.drawable.ic_bt_headset_hfp;
|
||||
}
|
||||
}
|
||||
return R.drawable.ic_settings_bluetooth2;
|
||||
return R.drawable.ic_settings_bluetooth;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user