Add kill-switch to distinguish chart or non-chart design
Bug: 184807417 Bug: 180607918 Test: make SettingsRoboTests Test: make SettingsGoogleRoboTests Change-Id: Iacbb012209d552b58b774f90f5b0aeb60ce6d33d
This commit is contained in:
@@ -74,7 +74,9 @@ public class BatteryChartView extends AppCompatImageView implements View.OnClick
|
||||
public BatteryChartView(Context context, AttributeSet attrs) {
|
||||
super(context, attrs);
|
||||
initializeColors(context);
|
||||
// Registers the click event listener.
|
||||
setOnClickListener(this);
|
||||
setClickable(false);
|
||||
setSelectedIndex(SELECTED_INDEX_ALL);
|
||||
setTrapezoidCount(DEFAULT_TRAPEZOID_COUNT);
|
||||
}
|
||||
|
Reference in New Issue
Block a user