-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Pixel Fold] When using upside-down, screen flips when navigating to camera screen #1
Comments
Hey, Jolanda. Thanks for reporting this. However, it might not be something we can fix. The camera screen is not like other UIs, in that the layout shouldn't change when the device is rotated. Here are some reasons.
All of these considerations combined are why we went with SCREEN_ORIENTATION_NOSENSOR. I checked with @romanofranz about updating SociaLite to support 0º and 180º orientations, but given the number of devices with different default orientations, he's concerned we'd introduce more bugs by trying that. I'll close this as WAI for now, but happy to discuss further if you have more thoughts. |
This doesn't match the Pixel native camera behavior when using the inner screen of the Pixel Fold or the Pixel Tablet. In either of those situations, the shutter button does move as the device is rotated. |
Thanks for the additional context, Alex. I updated my comment above to incorporate that. I still believe this is WAI from a camera perspective, but if the Large Screens team wants to author a fix that won't introduce more bugs on different form factors, I'd be happy to take a look. |
I added a patch in #26. |
Run the app on a Pixel Fold (API 34) emulator
Set the foldable to half-open and in "virtual sensors" set the screen rotation to 180 degrees:
Navigate to Sheep chat
Press the camera icon
Expected:
Camera screen is opened in the same orientation
Actual:
The screen turns 180 degrees
Screen.Recording.2023-12-15.at.09.48.18.mov
The text was updated successfully, but these errors were encountered: