From e6547c6493530219940dd5d46c541298458b5890 Mon Sep 17 00:00:00 2001 From: Till Hellmund Date: Thu, 12 Jan 2023 15:44:32 -0500 Subject: [PATCH] Update API --- payments-core/api/payments-core.api | 3 --- .../main/java/com/stripe/android/view/PaymentFlowActivity.kt | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/payments-core/api/payments-core.api b/payments-core/api/payments-core.api index 5f287ed02a9..48ddb9a8036 100644 --- a/payments-core/api/payments-core.api +++ b/payments-core/api/payments-core.api @@ -7214,7 +7214,6 @@ public final class com/stripe/android/view/ExpiryDateEditText : com/stripe/andro public final class com/stripe/android/view/PaymentAuthWebViewActivity : androidx/appcompat/app/AppCompatActivity { public static final field $stable I public fun ()V - public fun onBackPressed ()V public fun onCreateOptionsMenu (Landroid/view/Menu;)Z public fun onOptionsItemSelected (Landroid/view/MenuItem;)Z } @@ -7223,7 +7222,6 @@ public final class com/stripe/android/view/PaymentFlowActivity : com/stripe/andr public static final field $stable I public fun ()V public fun onActionSave ()V - public fun onBackPressed ()V } public final class com/stripe/android/view/PaymentFlowActivityStarter : com/stripe/android/view/ActivityStarter { @@ -7287,7 +7285,6 @@ public final class com/stripe/android/view/PaymentFlowViewPager : androidx/viewp public final class com/stripe/android/view/PaymentMethodsActivity : androidx/appcompat/app/AppCompatActivity { public static final field $stable I public fun ()V - public fun onBackPressed ()V public fun onSupportNavigateUp ()Z } diff --git a/payments-core/src/main/java/com/stripe/android/view/PaymentFlowActivity.kt b/payments-core/src/main/java/com/stripe/android/view/PaymentFlowActivity.kt index 8a3f2685e0d..79685c13346 100644 --- a/payments-core/src/main/java/com/stripe/android/view/PaymentFlowActivity.kt +++ b/payments-core/src/main/java/com/stripe/android/view/PaymentFlowActivity.kt @@ -105,6 +105,8 @@ class PaymentFlowActivity : StripeActivity() { ) viewPager.currentItem = viewModel.currentPage + onBackPressedCallback.isEnabled = hasPreviousPage() + title = paymentFlowPagerAdapter.getPageTitle(viewPager.currentItem) }