Skip to content

"Auto" screen rotation on android seems to have changed behavior #21500

Closed

Description

@hrydgard

Previously, we followed the sensor, but now, if the user uses rotation lock, it applies to us too.

For the auto mode, we are currently using ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED.

However, trying ActivityInfo.SCREEN_ORIENTATION_SENSOR we end up in a reinitailization loop. this needs to be investigated.

EDIT: The reinitialization loop was due to a bug in our "SizeManager" (which needs a major cleanup at some point).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions