Revert "Default fixed_rotation to off"
This reverts commitc0b289c93e
. Reason for revert: fixed in ag/10826395 Bug: 151727009 Change-Id: I0c71d5d47a6825c2445bf8dc9d8a9a1ca23f9e64 (cherry picked from commit08c4d99237
)
This commit is contained in:
parent
c7189a6f2d
commit
3b99a6c7d6
|
@ -163,7 +163,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, false,
|
||||
FLAG_ENABLE_FIXED_ROTATION_TRANSFORM, true,
|
||||
"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, false)
|
||||
.getBoolean(FLAG_ENABLE_FIXED_ROTATION_TRANSFORM, true)
|
||||
&& !getAllowRotationDefaultValue();
|
||||
if (mForcedRotation == isForcedRotation) {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue