Fixes DT enrollment asset showing in light mode
Moves DT->LT dynamic color mapping call to after animation asset is set Test: (manual) In light mode, advance past fingerprint enrollment edu screen and hit back button, observe correct LT asset Fixes: 246233066 Change-Id: I5425f57b151a6f586338497ee0e5bf247af55f6e
This commit is contained in:
@@ -168,8 +168,6 @@ public class FingerprintEnrollFindSensor extends BiometricEnrollBase implements
|
||||
|
||||
private void updateSfpsFindSensorAnimationAsset() {
|
||||
mIllustrationLottie = findViewById(R.id.illustration_lottie);
|
||||
LottieColorUtils.applyDynamicColors(getApplicationContext(), mIllustrationLottie);
|
||||
mIllustrationLottie.setVisibility(View.VISIBLE);
|
||||
final int rotation = getApplicationContext().getDisplay().getRotation();
|
||||
|
||||
switch (rotation) {
|
||||
@@ -190,6 +188,9 @@ public class FingerprintEnrollFindSensor extends BiometricEnrollBase implements
|
||||
R.raw.fingerprint_edu_lottie_landscape_top_right);
|
||||
break;
|
||||
}
|
||||
|
||||
LottieColorUtils.applyDynamicColors(getApplicationContext(), mIllustrationLottie);
|
||||
mIllustrationLottie.setVisibility(View.VISIBLE);
|
||||
mIllustrationLottie.playAnimation();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user