Merge "Fixes DT enrollment asset showing in light mode" into tm-qpr-dev am: 6b27a8bb70 am: 3ebab337b9

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/20083884

Change-Id: Ib76f9b2f4196b5de281285639dc29b07a99b0356
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Grace Cheng
2022-09-30 00:19:06 +00:00
committed by Automerger Merge Worker

View File

@@ -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();
}