Last active
October 17, 2018 16:38
-
-
Save extmkv/212dc3b4de25e6a7a8674361c7aa83fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
intent?.extras?.let { | |
if (it.containsKey(ARG_BASE_64)) { | |
prepareAndLoadWebViewContent(intent.getStringExtra(ARG_BASE_64)) | |
} else { | |
throw IllegalArgumentException("Needed the base 64 html") | |
} | |
} | |
----------------------------------------------------------------- | |
LINENUMBER 35 L6 | |
ALOAD 0 | |
INVOKEVIRTUAL com/adidas/checkout/ui/checkout/payment/PaymentWebViewActivity.getIntent ()Landroid/content/Intent; | |
DUP | |
IFNULL L8 | |
INVOKEVIRTUAL android/content/Intent.getExtras ()Landroid/os/Bundle; | |
DUP | |
IFNULL L8 | |
ASTORE 3 | |
L9 | |
L10 | |
ALOAD 3 | |
ASTORE 4 | |
L11 | |
LINENUMBER 36 L11 | |
ALOAD 4 | |
LDC "base64arg" | |
INVOKEVIRTUAL android/os/Bundle.containsKey (Ljava/lang/String;)Z | |
IFEQ L12 | |
L13 | |
LINENUMBER 37 L13 | |
ALOAD 0 | |
ALOAD 0 | |
INVOKEVIRTUAL com/adidas/checkout/ui/checkout/payment/PaymentWebViewActivity.getIntent ()Landroid/content/Intent; | |
LDC "base64arg" | |
INVOKEVIRTUAL android/content/Intent.getStringExtra (Ljava/lang/String;)Ljava/lang/String; | |
DUP | |
LDC "intent.getStringExtra(ARG_BASE_64)" | |
INVOKESTATIC kotlin/jvm/internal/Intrinsics.checkExpressionValueIsNotNull (Ljava/lang/Object;Ljava/lang/String;)V | |
INVOKESPECIAL com/adidas/checkout/ui/checkout/payment/PaymentWebViewActivity.prepareAndLoadWebViewContent (Ljava/lang/String;)V | |
L14 | |
GOTO L15 | |
L12 | |
LINENUMBER 39 L12 | |
NEW java/lang/IllegalArgumentException | |
DUP | |
LDC "Needed the base 64 html" | |
INVOKESPECIAL java/lang/IllegalArgumentException.<init> (Ljava/lang/String;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW | |
L15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val html = intent.getStringExtra(ARG_BASE_64) ?: | |
throw IllegalArgumentException("Needed the base 64 html or a confirmation url") | |
----------------------------------------------------------------- | |
LINENUMBER 29 L1 | |
ALOAD 0 | |
INVOKEVIRTUAL com/adidas/checkout/ui/checkout/payment/PaymentWebViewActivity.getIntent ()Landroid/content/Intent; | |
LDC "base64arg" | |
INVOKEVIRTUAL android/content/Intent.getStringExtra (Ljava/lang/String;)Ljava/lang/String; | |
DUP | |
IFNULL L2 | |
GOTO L3 | |
L2 | |
POP | |
NEW java/lang/IllegalArgumentException | |
DUP | |
LDC "Needed the base 64 html or a confirmation url" | |
INVOKESPECIAL java/lang/IllegalArgumentException.<init> (Ljava/lang/String;)V | |
CHECKCAST java/lang/Throwable | |
ATHROW |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment