Skip to content
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

Android: Ignore workaround view height if 0 #11428

Merged
merged 1 commit into from Jan 10, 2023

Conversation

t895
Copy link
Contributor

@t895 t895 commented Jan 10, 2023

This partially reverts a change made in #11410 in hopes of fixing fullscreen modes on Samsung devices when using the cheats activity.

@JosJuice
Copy link
Member

Isn't the height 1 in practice for the cheats activity?

@t895
Copy link
Contributor Author

t895 commented Jan 10, 2023

Isn't the height 1 in practice for the cheats activity?

Not quite, turns out samsung will still fire the window inset events in their fullscreen modes. This tells the workaround view to have a height of 0 and then the constraint layout interprets this as covering the whole screen. This makes sure that we ignore that report.

Edit- confirmed working by AGES in discord

@JosJuice
Copy link
Member

Right, you're checking if the inset's height is 0, not if the view's height is 0. Makes sense.

@JosJuice JosJuice merged commit 4b6d688 into dolphin-emu:master Jan 10, 2023
@t895 t895 deleted the cheats-fix-2 branch January 10, 2023 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants