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

Commit 1be773da authored by Yi-Ling Chuang's avatar Yi-Ling Chuang
Browse files

Turn on the transition flag

Test: robotests
Bug: 186701900
Change-Id: I09c821e17fca88ee532f6535031a52c4c832a1e8
parent 8642ee35
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1205,7 +1205,7 @@ public final class Utils extends com.android.settingslib.Utils {
    public static boolean isPageTransitionEnabled(Context context) {
        final boolean isSilkyHome = FeatureFlagUtils.isEnabled(context, FeatureFlags.SILKY_HOME);
        final boolean isTransitionEnabled = Settings.Global.getInt(context.getContentResolver(),
                SETTINGS_SHARED_AXIS_ENABLED, 0) == 1;
                SETTINGS_SHARED_AXIS_ENABLED, 1) == 1;

        return isSilkyHome && isTransitionEnabled;
    }
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ public class SettingsHomepageActivityTest {
    @Before
    public void setUp() {
        MockitoAnnotations.initMocks(this);
        ShadowUtils.setIsPageTransitionEnabled(false);
        ShadowUtils.setIsPageTransitionEnabled(true);
    }

    @Test