Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 95b6f8c4 authored by Saumya Prakash's avatar Saumya Prakash Committed by Android (Google) Code Review
Browse files

Merge "Add gesture navigation education animations for foldables" into udc-dev

parents ea3a3619 5547d3b9
Loading
Loading
Loading
Loading
+1 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −0

File added.

Preview size limit exceeded, changes collapsed.

+3 −1
Original line number Diff line number Diff line
@@ -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;
    }

+3 −1
Original line number Diff line number Diff line
@@ -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;
    }

Loading