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

Commit 6675c3bc authored by Yash Garg's avatar Yash Garg 💬 Committed by Sahil Sonar
Browse files

fix: don't show all apps animation swipe



[SahilSonar - adapted to A14]

Signed-off-by: default avatarSahilSonar <sss.sonar2003@gmail.com>
parent 4494078a
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -78,6 +78,8 @@ import com.airbnb.lottie.LottieAnimationView;
import java.net.URISyntaxException;
import java.net.URISyntaxException;
import java.util.Map;
import java.util.Map;


import foundation.e.bliss.multimode.MultiModeController;

/**
/**
 * A page shows after SUW flow to hint users to swipe up from the bottom of the screen to go home
 * A page shows after SUW flow to hint users to swipe up from the bottom of the screen to go home
 * for the gestural system navigation.
 * for the gestural system navigation.
@@ -202,7 +204,7 @@ public class AllSetActivity extends Activity {
    }
    }


    private void startBackgroundAnimation(boolean forTablet) {
    private void startBackgroundAnimation(boolean forTablet) {
        if (!Utilities.ATLEAST_S || mVibrator == null) {
        if (!Utilities.ATLEAST_S || mVibrator == null || MultiModeController.isSingleLayerMode()) {
            return;
            return;
        }
        }
        boolean supportsThud = mVibrator.areAllPrimitivesSupported(
        boolean supportsThud = mVibrator.areAllPrimitivesSupported(