@@ -53,6 +53,7 @@ public FlowParameters createFromParcel(Parcel in) {
5353 boolean enableHints = in .readInt () != 0 ;
5454 boolean enableAnonymousUpgrade = in .readInt () != 0 ;
5555 boolean alwaysShowProviderChoice = in .readInt () != 0 ;
56+ boolean lockOrientation = in .readInt () != 0 ;
5657 String emailLink = in .readString ();
5758 AuthMethodPickerLayout customLayout = in .readParcelable (AuthMethodPickerLayout .class .getClassLoader ());
5859
@@ -68,6 +69,7 @@ public FlowParameters createFromParcel(Parcel in) {
6869 enableHints ,
6970 enableAnonymousUpgrade ,
7071 alwaysShowProviderChoice ,
72+ lockOrientation ,
7173 emailLink ,
7274 customLayout );
7375 }
@@ -106,6 +108,7 @@ public FlowParameters[] newArray(int size) {
106108 public final boolean enableHints ;
107109 public final boolean enableAnonymousUpgrade ;
108110 public final boolean alwaysShowProviderChoice ;
111+ public final boolean lockOrientation ;
109112
110113 @ Nullable
111114 public final AuthMethodPickerLayout authMethodPickerLayout ;
@@ -122,6 +125,7 @@ public FlowParameters(
122125 boolean enableHints ,
123126 boolean enableAnonymousUpgrade ,
124127 boolean alwaysShowProviderChoice ,
128+ boolean lockOrientation ,
125129 @ Nullable String emailLink ,
126130 @ Nullable AuthMethodPickerLayout authMethodPickerLayout ) {
127131 this .appName = Preconditions .checkNotNull (appName , "appName cannot be null" );
@@ -136,6 +140,7 @@ public FlowParameters(
136140 this .enableHints = enableHints ;
137141 this .enableAnonymousUpgrade = enableAnonymousUpgrade ;
138142 this .alwaysShowProviderChoice = alwaysShowProviderChoice ;
143+ this .lockOrientation = lockOrientation ;
139144 this .emailLink = emailLink ;
140145 this .authMethodPickerLayout = authMethodPickerLayout ;
141146 }
@@ -160,6 +165,7 @@ public void writeToParcel(Parcel dest, int flags) {
160165 dest .writeInt (enableHints ? 1 : 0 );
161166 dest .writeInt (enableAnonymousUpgrade ? 1 : 0 );
162167 dest .writeInt (alwaysShowProviderChoice ? 1 : 0 );
168+ dest .writeInt (lockOrientation ? 1 : 0 );
163169 dest .writeString (emailLink );
164170 dest .writeParcelable (authMethodPickerLayout , flags );
165171 }
0 commit comments