A11y android: Fix crash with API level < 30


The public constructor for AccessibilityNodeInfo.RangeInfo was added
in API level 30. For lower API levels this leads to the following crash:

java.lang.NoSuchMethodError: no non-static method "Landroid/view/accessibility/AccessibilityNodeInfo$RangeInfo;.<init>(IFFF)V"
	at org.qtproject.qt.android.QtNativeAccessibility.populateNode(Native Method)

To prevent this, use the (deprecated) factory method "obtain" for lower
API levels.

Pick-to: 6.12
Change-Id: Ia468a1799fa8ef3c408e4b006f83a1a227ec87a3
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
commit1e1d86a009423fa834c361d34be250b0c4c5a49e
parent027e48ee7d96455f9de0835b873c0dfe7f923bb5
authorJulian Greilich <j.greilich@gmx.de>
committerJulian Greilich <j.greilich@gmx.de>
commit timeWed, 21 Oct 2026 10:58:04 +0000