Android: call the init class setContext() from JNI_OnLoad()
After making internal Java classes non-public, using the init
classes mechanism doesn't work, so do the initialization from
within the module's JNI_OnLoad() instead.
Task-number: QTBUG-126478
Pick-to: 6.8
Change-Id: Ibdb84e7929bd1d7819df46bad5301be71f96767c
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
| commit | b241baa066cc11b65845b011af177496c8bf95b4 |
| parent | b480b0b13eeb927e9d651d870a80c66526d55e89 |
| author | Assam Boudjelthia <assam.boudjelthia@qt.io> |
| committer | Assam Boudjelthia <assam.boudjelthia@qt.io> |
| commit time | Mon, 19 Aug 2024 17:25:39 +0300 |