Revert "Turn on the transition flag"
This reverts commit 1be773da62
.
Reason for revert: b/187517936
Fixes: 187517936
Change-Id: I57d0a7a16bdb76e105b0febd43bdf81521e69e3a
This commit is contained in:
@@ -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, 1) == 1;
|
||||
SETTINGS_SHARED_AXIS_ENABLED, 0) == 1;
|
||||
|
||||
return isSilkyHome && isTransitionEnabled;
|
||||
}
|
||||
|
@@ -65,7 +65,7 @@ public class SettingsHomepageActivityTest {
|
||||
@Before
|
||||
public void setUp() {
|
||||
MockitoAnnotations.initMocks(this);
|
||||
ShadowUtils.setIsPageTransitionEnabled(true);
|
||||
ShadowUtils.setIsPageTransitionEnabled(false);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user