Update fold setting illustrations
Flag: ACONFIG fold_lock_setting_enabled TRUNKFOOD Flag: ACONFIG com.android.internal.foldables.flags.fold_grace_period_enabled TRUNKFOOD Test: manually check settings pages Fixes: 319857292 Change-Id: If0e9b8ae9be29a65ce03b030105bf74e41ea845c
This commit is contained in:
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
@@ -160,8 +160,13 @@ public class FoldLockBehaviorSettings extends RadioButtonPickerFragment implemen
|
||||
IllustrationType.LOTTIE_ANIMATION);
|
||||
break;
|
||||
case SETTING_VALUE_SELECTIVE_STAY_AWAKE:
|
||||
setIllustration(R.raw.fold_setting_selective_stay_awake_lottie,
|
||||
IllustrationType.LOTTIE_ANIMATION);
|
||||
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,
|
||||
|
Reference in New Issue
Block a user