Details
-
User Story
-
Resolution: Done
-
P1: Critical
-
None
-
None
-
2021wk02, 2021wk04, 2021wk06
Description
The current QAndroidJniObject and QAndroidJniEnvironment are most important pieces for extending Qt functionality to all Android APIs, and since it can have some use under other platforms, we aim to rename the current QAndroidJniObject into QJniObject and QAndroidJniEnvironment into QJniEnvironment. This effectively will keep the same functionality without the need for QtAndroidExtras, but under Qt Base instead.
Under QJniEnvironment we could also have necessary exception handling to JNI exceptions that was being handled by QAndroidExceptionCleaner, which effectively means merging the latter class into QJniEnvironment.
Attachments
1.
|
moving and renaming the code | Closed | Assam Boudjelthia | |||||||||
2.
|
documentation changes | Closed | Assam Boudjelthia |
|
Gerrit Reviews
For Gerrit Dashboard: QTBUG-89482 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
330228,14 | Make QJniObject and QJniEnvironment public API | dev | qt/qtbase | Status: MERGED | +2 | 0 |
333775,6 | Android: take JavaVM() from QJniEnvironment and not QtAndroidPrivate | dev | qt/qtbase | Status: MERGED | +2 | 0 |
334130,2 | Android: take JavaVM() from QJniEnvironment and not QtAndroidPrivate | 6.1 | qt/qtbase | Status: MERGED | +2 | 0 |