Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit adf6d635 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "ExifInterface: do not spam stacktrace on invalid format" into main

parents ed8c91e4 4eeb4fe9
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -2037,9 +2037,10 @@ public class ExifInterface {
            // Ignore exceptions in order to keep the compatibility with the old versions of
            // ExifInterface.
            mIsSupportedFile = false;
            Log.w(TAG, "Invalid image: ExifInterface got an unsupported image format file"
                    + "(ExifInterface supports JPEG and some RAW image formats only) "
                    + "or a corrupted JPEG file to ExifInterface.", e);
            Log.d(
                    TAG,
                    "Invalid image: ExifInterface got an unsupported or corrupted image file",
                    e);
        } finally {
            addDefaultValuesForCompatibility();