1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-02-07 10:40:11 -05:00

Make (de)serialization work when LocalSearch has no search conditions

This commit is contained in:
cketti 2012-10-21 19:17:01 +02:00
parent 1d655f5bc2
commit f093b84142

View File

@ -385,6 +385,6 @@ public class LocalSearch implements SearchSpecification {
mPredefined = (in.readByte() == 1);
mAccountUuids.addAll(in.createStringArrayList());
mConditions = in.readParcelable(LocalSearch.class.getClassLoader());
mLeafSet = mConditions.getLeafSet();
mLeafSet = (mConditions == null) ? null : mConditions.getLeafSet();
}
}