Fix fingerprint enrolling in settings show heavy theme
The descrpiton textview of fingerprint enrolling page that launchs from settings shouldn't apply heavy theme. It must check the atrribute of heavy theme is true first, and then apply it. Bug: 132366547 Test: Manual Change-Id: Id52151b308fa80f84a67d132634a8e9c58291878
This commit is contained in:
@@ -138,7 +138,9 @@ public class FingerprintEnrollEnrolling extends BiometricsEnrollEnrolling {
|
||||
mProgressBar = (ProgressBar) findViewById(R.id.fingerprint_progress_bar);
|
||||
mVibrator = getSystemService(Vibrator.class);
|
||||
|
||||
DescriptionStyler.applyPartnerCustomizationStyle(mRepeatMessage);
|
||||
if (getLayout().shouldApplyPartnerHeavyThemeResource()) {
|
||||
DescriptionStyler.applyPartnerCustomizationStyle(mRepeatMessage);
|
||||
}
|
||||
mFooterBarMixin = getLayout().getMixin(FooterBarMixin.class);
|
||||
mFooterBarMixin.setSecondaryButton(
|
||||
new FooterButton.Builder(this)
|
||||
|
Reference in New Issue
Block a user