Loading src/com/android/launcher3/settings/SettingsActivity.java +2 −2 Original line number Diff line number Diff line Loading @@ -268,8 +268,8 @@ public class SettingsActivity extends FragmentActivity return !WidgetsModel.GO_DISABLE_NOTIFICATION_DOTS; case ALLOW_ROTATION_PREFERENCE_KEY: DisplayController.Info info = InvariantDeviceProfile.INSTANCE.get( getContext()).getDeviceProfile(getContext()).getDisplayInfo(); DisplayController.Info info = DisplayController.INSTANCE.get(getContext()).getInfo(); if (info.isTablet(info.realBounds)) { // Launcher supports rotation by default. No need to show this setting. return false; Loading Loading
src/com/android/launcher3/settings/SettingsActivity.java +2 −2 Original line number Diff line number Diff line Loading @@ -268,8 +268,8 @@ public class SettingsActivity extends FragmentActivity return !WidgetsModel.GO_DISABLE_NOTIFICATION_DOTS; case ALLOW_ROTATION_PREFERENCE_KEY: DisplayController.Info info = InvariantDeviceProfile.INSTANCE.get( getContext()).getDeviceProfile(getContext()).getDisplayInfo(); DisplayController.Info info = DisplayController.INSTANCE.get(getContext()).getInfo(); if (info.isTablet(info.realBounds)) { // Launcher supports rotation by default. No need to show this setting. return false; Loading