Default fixed_rotation to off am: c0b289c93e am: 6112a127bb am: 70136ff9f2

Change-Id: I237765fdd04cb4e4a3d112c9d1b5ff8fbc01dbd0
This commit is contained in:
Vinit Nayak authored and Automerger Merge Worker committed 2020-03-18 09:24:09 +00:00
commit e69d73a4a7
2 files changed
+2 -2

No files matched your search

@@ -156,7 +156,7 @@ public final class FeatureFlags {
"Always use hardware optimization for folder animations.");
public static final BooleanFlag ENABLE_FIXED_ROTATION_TRANSFORM = getDebugFlag(
FLAG_ENABLE_FIXED_ROTATION_TRANSFORM, true,
FLAG_ENABLE_FIXED_ROTATION_TRANSFORM, false,
"Launch/close apps without rotation animation. Fix Launcher to portrait");
public static void initialize(Context context) {
@@ -134,7 +134,7 @@ public class RotationHelper implements OnSharedPreferenceChangeListener {
*/
private void updateForcedRotation(boolean setValueFromPrefs) {
boolean isForcedRotation = mFeatureFlagsPrefs
.getBoolean(FLAG_ENABLE_FIXED_ROTATION_TRANSFORM, true)
.getBoolean(FLAG_ENABLE_FIXED_ROTATION_TRANSFORM, false)
&& !getAllowRotationDefaultValue();
if (mForcedRotation == isForcedRotation) {
return;