diff --git a/matisse/src/main/java/com/zhihu/matisse/internal/entity/Album.java b/matisse/src/main/java/com/zhihu/matisse/internal/entity/Album.java index 9ebafb8c5..b3546f01d 100644 --- a/matisse/src/main/java/com/zhihu/matisse/internal/entity/Album.java +++ b/matisse/src/main/java/com/zhihu/matisse/internal/entity/Album.java @@ -87,6 +87,10 @@ public void writeToParcel(Parcel dest, int flags) { } public String getId() { + if (mId == null) { + return ALBUM_ID_ALL; + } + return mId; }