Bug 1754802 Comment 11 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Hmm, my clean installed reference browser in myPixel 4a (Android 12) cannot update screen info well on emilio's test case, but another OPPO device (Android 10) can update it correctly. Also I cannot reproduce this on emulator image of Android 12...

emilo, what your device and Android version?

`getRealSize` is  deprecated in API from Android 12, so we may resolve this by `getCurrentWindowMetrics` , but I don't know.
Hmm, my clean installed reference browser in my Pixel 4a (Android 12) cannot update screen info well on emilio's test case, but another OPPO device (Android 10) can update it correctly. Also I cannot reproduce this on emulator image of Android 12...

emilo, what your device and Android version?

`getRealSize` is  deprecated in API from Android 12, so we may resolve this by `getCurrentWindowMetrics` , but I don't know.
Hmm, my clean installed reference browser in my Pixel 4a (Android 12) cannot update screen info well on emilio's test case, but another OPPO device (Android 10) can update it correctly. Also I cannot reproduce this on emulator image of Android 12...

emilo, what your device and Android version?

`getRealSize` is  deprecated in API from Android 12, so we may be able to resolve this by `getCurrentWindowMetrics` , but I don't know.

Back to Bug 1754802 Comment 11