-
Notifications
You must be signed in to change notification settings - Fork 661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove force portrait in PaymentLauncher #4855
Conversation
6f4da0c
to
30a2fd5
Compare
Diffuse output:
APK
DEX
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I want to see some screenshots of the 3ds2 challenges in portrait before we merge this. Unsure if they'll work.
@@ -36,7 +37,9 @@ internal class PaymentLauncherConfirmationActivity : AppCompatActivity() { | |||
@SuppressLint("SourceLockedOrientationActivity") | |||
override fun onCreate(savedInstanceState: Bundle?) { | |||
super.onCreate(savedInstanceState) | |||
if (Build.VERSION.SDK_INT != Build.VERSION_CODES.O) { | |||
if (Build.VERSION.SDK_INT != Build.VERSION_CODES.O && | |||
!resources.getBoolean(R.bool.isTablet) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious why only tablets?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just want to make sure we aren't changing behavior for other device types. If we are confident that all device types can have this change, then I can remove this code.
30a2fd5
to
c4567a6
Compare
c4567a6
to
169e788
Compare
07400bc
to
70d3296
Compare
Summary
Removed force portrait mode for tablets.
Motivation
Make sure that
PaymentLauncher
works in landscape mode on tablets.Testing
Screenshots
3ds1 testing
paymentlauncher.mov
3ds2 testing
3ds2.mov
Changelog