Merge "Fix crash when restoring SearchView." into nyc-dev

This commit is contained in:
Aurimas Liutikas
2016-02-29 18:21:06 +00:00
committed by Android (Google) Code Review

View File

@@ -1358,6 +1358,17 @@ public class SearchView extends LinearLayout implements CollapsibleActionView {
+ Integer.toHexString(System.identityHashCode(this))
+ " isIconified=" + isIconified + "}";
}
public static final Parcelable.Creator<SavedState> CREATOR =
new Parcelable.Creator<SavedState>() {
public SavedState createFromParcel(Parcel in) {
return new SavedState(in);
}
public SavedState[] newArray(int size) {
return new SavedState[size];
}
};
}
@Override