Merge "Update toggle layout and always show footer text" into qt-dev am: e7eba5d246

am: 8770f0866b

Change-Id: Ib159f6c9937aa37033d95f6e0b932f3f2c99ae4d
This commit is contained in:
Kevin Chyn
2019-04-23 20:23:24 -07:00
committed by android-build-merger
4 changed files with 58 additions and 22 deletions

View File

@@ -72,12 +72,10 @@ public class FaceEnrollIntroduction extends BiometricEnrollIntroduction {
mFaceManager = Utils.getFaceManagerOrNull(this);
final Button accessibilityButton = findViewById(R.id.accessibility_button);
final View footerView = findViewById(R.id.footer_layout);
accessibilityButton.setOnClickListener(view -> {
mSwitchDiversity.setChecked(true);
accessibilityButton.setVisibility(View.GONE);
mSwitchDiversity.setVisibility(View.VISIBLE);
footerView.setVisibility(View.GONE);
});
mSwitchDiversity = findViewById(R.id.toggle_diversity);