mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Merge pull request #157 from misaochan/npe-media
Fix NullPointerException in Media.java
This commit is contained in:
commit
d4dc94bdc7
1 changed files with 3 additions and 1 deletions
|
|
@ -235,7 +235,9 @@ public class Media implements Parcelable {
|
|||
width = in.readInt();
|
||||
height = in.readInt();
|
||||
license = in.readString();
|
||||
if (categories != null) {
|
||||
in.readStringList(categories);
|
||||
}
|
||||
descriptions = in.readHashMap(ClassLoader.getSystemClassLoader());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue