-
-
Save invisiblek/ae38b9750d815d61b244 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java | |
index 041d21b..4e5993d 100644 | |
--- a/src/com/android/launcher3/Launcher.java | |
+++ b/src/com/android/launcher3/Launcher.java | |
@@ -5212,9 +5212,7 @@ public class Launcher extends Activity | |
} | |
public boolean isRotationEnabled() { | |
- boolean enableRotation = sForceEnableRotation || | |
- getResources().getBoolean(R.bool.allow_rotation); | |
- return enableRotation; | |
+ return true; | |
} | |
public void lockScreenOrientation() { | |
if (isRotationEnabled()) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment