-
-
Save Skylled/c758d4b52e2d1de0eef9f3bc1c7b518f to your computer and use it in GitHub Desktop.
Google Pay + Stadia
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
public final void a(String str, qxl qxl) { | |
this.a.j.a(ptr.YETI_APPROVAL_PAYMENTS_VIEWED); | |
hnk hnk = (hnk) qxl.a(hnk.d, this.a.i); | |
try { | |
jfi jfi = new jfi(this.a.c.o()); | |
jfi.a(hnk.c ^ true ? 1 : 0); | |
jfi.a(new Account(hnk.b, "com.google")); | |
qtu h = qrr.c.h(); | |
qsy a2 = qsy.a(Base64.decode(str, 0)); | |
if (h.c) { | |
h.b(); | |
h.c = false; | |
} | |
qrr qrr = (qrr) h.b; | |
a2.getClass(); | |
qrr.a = 29; | |
qrr.b = a2; | |
jfi.b.putExtra("com.google.android.gms.wallet.firstparty.EXTRA_PARAMS", ((qrr) h.h()).d()); | |
jfi.b.putExtra("com.google.android.gms.wallet.firstparty.EXTRA_WIDGET_TYPE", 2); | |
this.a.c.startActivityForResult(jfi.a(), 1); | |
} catch (ActivityNotFoundException e) { | |
( | |
(oux) ((oux) ((oux) hmj.a.a()).a((Throwable) e)).a( | |
"com/google/android/apps/kids/familylink/yeti/approvals/YetiApprovalsControllerFragmentPeer$LaunchYetiPaymentsCallback", | |
"onSuccess", | |
301, | |
"YetiApprovalsControllerFragmentPeer.java") | |
).a("Failed to start activity for Yeti purchase flow"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment