Hide "no thanks" button when enrollment completed.
Test: atest FingerprintEnrollIntroductionTest Bug: 262666155 Change-Id: I61549029f87e7bbee665f47d24f9a929ad8b4df1
This commit is contained in:
@@ -222,7 +222,9 @@ public abstract class BiometricEnrollIntroduction extends BiometricEnrollBase
|
||||
|
||||
// Show secondary button once scroll is completed.
|
||||
if (!scrollNeeded) {
|
||||
getSecondaryFooterButton().setVisibility(View.VISIBLE);
|
||||
if (!enrollmentCompleted) {
|
||||
getSecondaryFooterButton().setVisibility(View.VISIBLE);
|
||||
}
|
||||
mHasScrolledToBottom = true;
|
||||
}
|
||||
});
|
||||
@@ -242,6 +244,7 @@ public abstract class BiometricEnrollIntroduction extends BiometricEnrollBase
|
||||
mErrorText.setVisibility(View.VISIBLE);
|
||||
getNextButton().setText(getResources().getString(R.string.done));
|
||||
getNextButton().setVisibility(View.VISIBLE);
|
||||
getSecondaryFooterButton().setVisibility(View.INVISIBLE);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user