fix deserialization null pointer exception in Article
This commit is contained in:
parent
1d4c780f50
commit
d791a7222b
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.fox.ttrss"
|
||||
android:versionCode="16"
|
||||
android:versionName="0.1.15">
|
||||
android:versionCode="17"
|
||||
android:versionName="0.1.16">
|
||||
<uses-sdk android:minSdkVersion="8" />
|
||||
<!-- <supports-screens android:smallScreens="false" android:normalScreens="false" /> -->
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
package org.fox.ttrss;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import android.os.Parcel;
|
||||
@ -51,8 +52,11 @@ public class Article implements Parcelable {
|
||||
is_updated = in.readInt() == 1;
|
||||
title = in.readString();
|
||||
link = in.readString();
|
||||
feed_id = in.readInt();
|
||||
feed_id = in.readInt();
|
||||
|
||||
if (tags == null) tags = new ArrayList<String>();
|
||||
in.readStringList(tags);
|
||||
|
||||
content = in.readString();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user