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

Commit 26556774 authored by Walter Jang's avatar Walter Jang
Browse files

Parsing compact editor profile photo file IDs as longs

This only appears to be affecting the ME profile photo

Bug 22010349

Change-Id: If1be0ec6b2491649ebd0d3daa95a47cb437447af
parent 8cad4b59
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -161,7 +161,7 @@ public class CompactPhotoEditorView extends RelativeLayout implements View.OnCli
                    // a reference to a larger version of PHOTO that we can bind to the UI.
                    // Otherwise, we need to wait for a call to #setFullSizedPhoto() to update
                    // our full sized image.
                    final Integer fileId = valuesDelta.getAsInteger(Photo.PHOTO_FILE_ID);
                    final Long fileId = valuesDelta.getAsLong(Photo.PHOTO_FILE_ID);
                    if (fileId != null) {
                        final Uri photoUri = DisplayPhoto.CONTENT_URI.buildUpon()
                                .appendPath(fileId.toString()).build();