Skip to content

CameraX 1.6.1 Interferes with System Auto Rotation on Samsung Galaxy A52 Android 12 (1 user) #3810

Description

@kylecorry31

Reported by 1 user via email.

Device: Samsung Galaxy A52
Android version: 12

Opening Trail Sense causes the auto rotate to no longer work in other apps on their phone until they either reboot or open the Samsung Camera. They confirmed installing 7.7.0 does not have the problem, and reinstalling 8.0.0 causes it to appear.

I also have an A52 and was unable to reproduce the issue (Android 14 though).

Android apps are unable to modify the auto rotate setting on the system, but it does seem like it is Trail Sense causing it for them. That points to a system bug that Trail Sense is triggering somehow in the code changes between 7.7.0 and 8.0.0. It seems like there are a lot of reports of Samsung devices having issues with auto rotate (not related to Trail Sense), so very likely this is triggering one of those conditions.

8.0.0 contained a change to allow auto rotation on onboarding activity and the flashlight widget activity and to read the display rotation for the compass. Maybe try reverting each of those and send them two builds to see if any work.

Unable to reproduce on my device, leaving this as community only if someone can help reproduce this and fix it (if a workaround is possible, otherwise waiting on upstream).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: LowLow priority, I may not have time to implement these or are likely years away.Size: SmallSmall size - does not require much design, planning, or code changes.Status: Blocked UpstreamBlocked by an upstream (ex. Android, library) changeStatus: Community OnlyMaintainer will not implement this. A maintainable community contribution will be considered.Type: BugSomething isn't workinghelp wantedOpen to community contribution at any time

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions