diff options
| author | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2025-06-27 17:08:46 +0300 |
|---|---|---|
| committer | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2025-06-28 03:52:49 +0300 |
| commit | d9f10bfaaeef52a5ccfc60c7e75339df39b96ff3 (patch) | |
| tree | 966fc64808b4dc0a90af9bae171706f2e7c08407 /src/corelib/doc/snippets | |
| parent | bb12c984b2c838bdb06169ef7d659384c02c8b82 (diff) | |
Android: fix potential exceptions in Java CursorHandle
Under initOverlay(), obtainStyledAttributes() was using an auto
closeable try() block but that's not guaranteed to be implemented
on all system, to opt in for manually recycling.
Moreover, under width(), m_cursorView is not always guaranteed to be
non-null, so guard against that.
Pick-to: 6.10 6.9
Change-Id: I35bf6d2ecbaf8913c94b070e7d99f72d2030f8b7
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
Diffstat (limited to 'src/corelib/doc/snippets')
0 files changed, 0 insertions, 0 deletions
