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

Commit d8d1738b authored by Walter Jang's avatar Walter Jang Committed by Android Git Automerger
Browse files

am 26556774: Parsing compact editor profile photo file IDs as longs

* commit '26556774':
  Parsing compact editor profile photo file IDs as longs
parents 608ec572 26556774
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line 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.
                    // 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
                    // Otherwise, we need to wait for a call to #setFullSizedPhoto() to update
                    // our full sized image.
                    // 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) {
                    if (fileId != null) {
                        final Uri photoUri = DisplayPhoto.CONTENT_URI.buildUpon()
                        final Uri photoUri = DisplayPhoto.CONTENT_URI.buildUpon()
                                .appendPath(fileId.toString()).build();
                                .appendPath(fileId.toString()).build();