From f03d2fb4b80bec7d11a79c83384177b7084d9541 Mon Sep 17 00:00:00 2001 From: codinronan Date: Sun, 14 Apr 2019 23:22:29 -0500 Subject: [PATCH] fix(android): correct overriden method protection levels --- src/android/StripePaymentsPlugin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/android/StripePaymentsPlugin.java b/src/android/StripePaymentsPlugin.java index 32646f6..63bbbcb 100644 --- a/src/android/StripePaymentsPlugin.java +++ b/src/android/StripePaymentsPlugin.java @@ -93,7 +93,7 @@ public class StripePaymentsPlugin extends CordovaPlugin { } @Override - protected void onNewIntent(Intent intent) { + public void onNewIntent(Intent intent) { super.onNewIntent(intent); if (intent.getData() != null && intent.getData().getQuery() != null) { // The client secret and source ID found here is identical to @@ -118,7 +118,7 @@ public class StripePaymentsPlugin extends CordovaPlugin { } @Override - protected void onDestroy() { + public void onDestroy() { super.onDestroy(); mPaymentSession.onDestroy(); }