Merge "Update fold setting illustrations" into main

This commit is contained in:
Beverly Tai
2024-02-01 21:14:16 +00:00
committed by Android (Google) Code Review
4 changed files with 10 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -160,8 +160,13 @@ public class FoldLockBehaviorSettings extends RadioButtonPickerFragment implemen
IllustrationType.LOTTIE_ANIMATION);
break;
case SETTING_VALUE_SELECTIVE_STAY_AWAKE:
if (mFoldGracePeriodProvider.isEnabled()) {
setIllustration(R.raw.fold_setting_grace_period_selective_stay_awake_lottie,
IllustrationType.LOTTIE_ANIMATION);
} else {
setIllustration(R.raw.fold_setting_selective_stay_awake_lottie,
IllustrationType.LOTTIE_ANIMATION);
}
break;
case SETTING_VALUE_SLEEP_ON_FOLD:
setIllustration(R.raw.fold_setting_sleep_on_fold_lottie,