diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java index d3b4c949a9..5fe6c14285 100644 --- a/src/com/android/launcher3/Launcher.java +++ b/src/com/android/launcher3/Launcher.java @@ -4140,9 +4140,8 @@ public class Launcher extends BaseActivity public void onSharedPreferenceChanged( SharedPreferences sharedPreferences, String key) { if (Utilities.ALLOW_ROTATION_PREFERENCE_KEY.equals(key)) { - // Finish this instance of the activity. When the activity is recreated, - // it will initialize the rotation preference again. - finish(); + // Recreate the activity so that it initializes the rotation preference again. + recreate(); } } }