Update toggle logic
Bug: 111548033 Test: Builds Change-Id: I591297940b48cffe61ca0279ff835ccacd2a625f
This commit is contained in:
@@ -58,9 +58,14 @@ public class FaceEnrollAccessibilityToggle extends LinearLayout {
|
||||
a.recycle();
|
||||
}
|
||||
mSwitch = findViewById(R.id.toggle);
|
||||
mSwitch.setChecked(false);
|
||||
}
|
||||
|
||||
public boolean isChecked() {
|
||||
return mSwitch.isChecked();
|
||||
}
|
||||
|
||||
public void setChecked(boolean checked) {
|
||||
mSwitch.setChecked(checked);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user