diff options
author | Samuel Mira <samuel.mira@qt.io> | 2022-04-04 18:30:59 +0300 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-04-19 08:20:09 +0000 |
commit | 19fe57408b53d871dc1e306f50b452fdcc8b4737 (patch) | |
tree | bde4581bca4acac3cd7d485e102443d9418f04a3 /LICENSE.FDL | |
parent | 934c9b6dee03b8b71bd71f06d03185c56f94bd76 (diff) |
Fix usage of unsupported Exif constructor on Android 6
QtCameraListener used ExifInterface(InputStream stream) constructor
that was added in API 24 while the mininum support is Android 6 API 23.
The fix consists in using ExifInterface(String filename) constructor
present since API 5. To use that constructor, it is necessary to save
the data to a temporary file for ExifInterface to use.
Fixes: QTBUG-99228
Change-Id: Ib39e8da696c64c20e4afcd3f71dd0e7abdea5ee6
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 6ccb976f4f9693ad7c6881a186fd6af0f05ff023)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'LICENSE.FDL')
0 files changed, 0 insertions, 0 deletions