I was just checking targetSdkVersion requirements and they mention potentially using getLocationInWindow() instead of getLocationOnScreen() because of the new advanced window management.
I'm not too familiar with this, but maybe it's worth checking which method should be used in this particular scenario.
https://github.com/wordpress-mobile/AztecEditor-Android/blob/fdcf6ce096db614a8c94e08570a5413106f58b9f/aztec/src/main/kotlin/org/wordpress/aztec/AztecText.kt#L612
I was just checking targetSdkVersion requirements and they mention potentially using
getLocationInWindow()
instead ofgetLocationOnScreen()
because of the new advanced window management.I'm not too familiar with this, but maybe it's worth checking which method should be used in this particular scenario.