Starting with API level 30, keyboard visibility can be easly checked using [0]WindowInsets.isVisible(int). This eliminates the need for relying on callbacks to detect when the keyboard opens or closes. This commit updates the logic to track keyboard visibility by observing changes via OnApplyWindowInsetsListener and checking for visibility changes using the new API. From now on, for API 30 and above, the internal keyboard visibility property should no longer be updated manually. [0] https://developer.android.com/reference/android/view/WindowInsets#isVisible(int) Task-number: QTBUG-98984 Pick-to: 6.8 Change-Id: I40f3ccc4e652f1ae0c6c0ebd154d690d1a9d7ca8 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> (cherry picked from commit 33cf82c13d6e3e9fc6d15b725f7ebe15be3d4631) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 3f72e55bca1a368d6432c516b5048b4f6f8fc1b9)
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%