Merge "Add gesture navigation education animations for foldables" into udc-dev am: 95b6f8c409

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

Change-Id: I4f64b04c843cc7df0f031f27f2dcb8025b5cdf99
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Saumya Prakash
2023-04-12 19:03:47 +00:00
committed by Automerger Merge Worker
6 changed files with 12 additions and 3 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
@@ -70,7 +70,9 @@ final class BackGestureTutorialController extends TutorialController {
@Override
protected int getGestureLottieAnimationId() {
return mTutorialFragment.isLargeScreen()
? R.raw.back_gesture_tutorial_tablet_animation
? mTutorialFragment.isFoldable()
? R.raw.back_gesture_tutorial_open_foldable_animation
: R.raw.back_gesture_tutorial_tablet_animation
: R.raw.back_gesture_tutorial_animation;
}
@@ -71,7 +71,9 @@ final class HomeGestureTutorialController extends SwipeUpGestureTutorialControll
@Override
protected int getGestureLottieAnimationId() {
return mTutorialFragment.isLargeScreen()
? R.raw.home_gesture_tutorial_tablet_animation
? mTutorialFragment.isFoldable()
? R.raw.home_gesture_tutorial_open_foldable_animation
: R.raw.home_gesture_tutorial_tablet_animation
: R.raw.home_gesture_tutorial_animation;
}
@@ -81,7 +81,9 @@ final class OverviewGestureTutorialController extends SwipeUpGestureTutorialCont
@Override
protected int getGestureLottieAnimationId() {
return mTutorialFragment.isLargeScreen()
? R.raw.overview_gesture_tutorial_tablet_animation
? mTutorialFragment.isFoldable()
? R.raw.overview_gesture_tutorial_open_foldable_animation
: R.raw.overview_gesture_tutorial_tablet_animation
: R.raw.overview_gesture_tutorial_animation;
}