Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48082f89 authored by pastychang's avatar pastychang Committed by Pasty Chang
Browse files

Apply stencil theme for description textview

Fingerprint enrolling page has a fixed description id. Another
description textview should use setup lib API to apply stencil theme.

Bug: 132366547
Test: Manual
Change-Id: Ifa664b84718ecd211f4c8ff1542ce38c2ef6481b
parent ae6f6ab0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -49,6 +49,7 @@ import com.android.settings.core.instrumentation.InstrumentedDialogFragment;

import com.google.android.setupcompat.template.FooterBarMixin;
import com.google.android.setupcompat.template.FooterButton;
import com.google.android.setupdesign.util.DescriptionStyler;

/**
 * Activity which handles the actual enrolling for fingerprint.
@@ -137,6 +138,7 @@ public class FingerprintEnrollEnrolling extends BiometricsEnrollEnrolling {
        mProgressBar = (ProgressBar) findViewById(R.id.fingerprint_progress_bar);
        mVibrator = getSystemService(Vibrator.class);

        DescriptionStyler.applyPartnerCustomizationStyle(mRepeatMessage);
        mFooterBarMixin = getLayout().getMixin(FooterBarMixin.class);
        mFooterBarMixin.setSecondaryButton(
                new FooterButton.Builder(this)