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

Use WindowMetrics instead of DisplayMetrics #408

Open
TheLastProject opened this issue Sep 21, 2021 · 2 comments
Open

Use WindowMetrics instead of DisplayMetrics #408

TheLastProject opened this issue Sep 21, 2021 · 2 comments
Labels
common: uncommon Most users are unlikely to come across this or unexpected workflow severity: tolerable Low/no impact on users state: help wanted I looked into this issue but couldn't solve it quickly type: bug Something isn't working

Comments

@TheLastProject
Copy link
Member

https://developer.android.com/about/versions/12/behavior-changes-all#examples_of_how_to_use_windowmetrics

@TheLastProject TheLastProject added type: bug Something isn't working state: help wanted I looked into this issue but couldn't solve it quickly labels Sep 21, 2021
@Kethen
Copy link
Contributor

Kethen commented Nov 14, 2021

https://developer.android.com/reference/android/view/WindowManager#getCurrentWindowMetrics()

it's way beyond the api level we are trying to support..

@Altonss
Copy link
Contributor

Altonss commented Jan 13, 2022

it's way beyond the api level we are trying to support..

So what should be done? Just close the issue or implement the new method only for the high enough api levels?

@TheLastProject TheLastProject added common: uncommon Most users are unlikely to come across this or unexpected workflow severity: tolerable Low/no impact on users labels Feb 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common: uncommon Most users are unlikely to come across this or unexpected workflow severity: tolerable Low/no impact on users state: help wanted I looked into this issue but couldn't solve it quickly type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants