Parsing compact editor profile photo file IDs as longs
This only appears to be affecting the ME profile photo
Bug 22010349
Change-Id: If1be0ec6b2491649ebd0d3daa95a47cb437447af
diff --git a/src/com/android/contacts/editor/CompactPhotoEditorView.java b/src/com/android/contacts/editor/CompactPhotoEditorView.java
index 6be1377..1cb4538 100644
--- a/src/com/android/contacts/editor/CompactPhotoEditorView.java
+++ b/src/com/android/contacts/editor/CompactPhotoEditorView.java
@@ -161,7 +161,7 @@
// 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();