Fixed
Status Update
Comments
mi...@google.com <mi...@google.com>
[Deleted User] <[Deleted User]> #3
This is due to a bug in Fragment - using 1.1.0-alpha02 of Preference uses a newer Fragment dependency, and fixes this issue.
[Deleted User] <[Deleted User]> #4
Actually, I just checked and it still crashes using 1.1.0-alpha02.
ib...@google.com <ib...@google.com>
la...@gmail.com <la...@gmail.com> #5
Could you maybe upload a simpler project with reproduction steps? Or at least provide reproduction steps for the project you linked - Does it crash when using Preference 1.0.0?
This still seems suspiciously similar tohttps://issuetracker.google.com/issues/120240628 , which can not be reproduced with 1.1.0-alpha02 (following the reproduction steps in the first comment).
This still seems suspiciously similar to
la...@gmail.com <la...@gmail.com> #6
Comment has been deleted.
la...@gmail.com <la...@gmail.com> #7
I also ran it on a Samsung Galaxy J4+ running Android 8.1.0, and it is the same story. There is no NPE issue using preferences 1.0.0, but using any of the 1.1.0 alphas with/without fragments 1.1.0-alpha02 will cause the NPE.
ib...@google.com <ib...@google.com> #8
Thanks for the further details - it appears there are two similar issues here with Fragment - one has been fixed, but there is still one that exists, causing this bug.
Apologies for the inconvenience.
Apologies for the inconvenience.
ap...@google.com <ap...@google.com> #9
This has been fixed and will be available in an upcoming release.
ib...@google.com <ib...@google.com>
la...@gmail.com <la...@gmail.com> #10
@9 Which one?
ib...@google.com <ib...@google.com> #11
Both the Fragment issues and a workaround in Preference library to prevent this from happening in the future will be released.
ap...@google.com <ap...@google.com> #12
@11 I mean in which version exactly should we expect it to happen? What would be in the gradle file?
na...@google.com <na...@google.com> #13
alpha03, which is yet to be released.
Description
Component used: AndroidX ExifInterface Version used: 1.3.6 Devices/Android versions reproduced on: Samsung Galaxy S22 Ultra, Android 13, One UI 5.1
When reporting bugs, please always include:
Where possible, please also provide:
I attached an image that is experiencing this issue. It was captured in portrait mode and should show that in EXIF data that it was rotated 90 degrees. It appears correctly in MacOS Preview and on this online EXIF data site:https://jimpl.com/results/FWuAnboJWW1vdDpRmeUKsccb?target=exif
I added this to dependencies:
I added this to code:
This is the result: