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.10 6.9 6.8 Change-Id: I40f3ccc4e652f1ae0c6c0ebd154d690d1a9d7ca8 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%