Default fixed_rotation to off

Bug: 151727009
Test: N/A
Change-Id: I83f9f58acb1718ee4fc19530a3e8b25badefda0e
This commit is contained in:
Vinit Nayak 2020-03-17 14:15:32 -07:00 committed by Hongwei Wang
parent 5bee1f934b
commit c0b289c93e
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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;