Add a type parameter to SavedState.Creator in the new embedding (flutter/engine#15563)

This commit is contained in:
Jason Simmons
2020-01-13 15:26:32 -08:00
committed by GitHub
parent 555c917a35
commit 353d4aa572

View File

@@ -246,7 +246,7 @@ import io.flutter.embedding.engine.renderer.FlutterUiDisplayListener;
}
public static class SavedState extends BaseSavedState {
public static Creator CREATOR = new Creator() {
public static Creator<SavedState> CREATOR = new Creator<SavedState>() {
@Override
public SavedState createFromParcel(Parcel source) {
return new SavedState(source);