Use title area for enrollment error messages
This CL is trying to put the enrollment error messages into the title area for UDFPS, and left the red text for the older devices with a rear fingerprint. Fixes: 178432748 Test: visual verified Change-Id: Ib3a81531219dc963723ad0de99f079a230c580f5
This commit is contained in:
@@ -173,10 +173,18 @@ public abstract class BiometricEnrollBase extends InstrumentedActivity {
|
||||
setHeaderText(resId, false /* force */);
|
||||
}
|
||||
|
||||
protected void setHeaderText(CharSequence title) {
|
||||
getLayout().setHeaderText(title);
|
||||
}
|
||||
|
||||
protected void setDescriptionText(int resId) {
|
||||
getLayout().setDescriptionText(resId);
|
||||
}
|
||||
|
||||
protected void setDescriptionText(CharSequence descriptionText) {
|
||||
getLayout().setDescriptionText(descriptionText);
|
||||
}
|
||||
|
||||
protected FooterButton getNextButton() {
|
||||
if (mFooterBarMixin != null) {
|
||||
return mFooterBarMixin.getPrimaryButton();
|
||||
|
||||
Reference in New Issue
Block a user