package com.pingplusplus.android; import android.webkit.WebView; import android.webkit.WebViewClient; class e extends WebViewClient { /* renamed from: a reason: collision with root package name */ final /* synthetic */ PaymentActivity f12009a; e(PaymentActivity paymentActivity) { this.f12009a = paymentActivity; } public void onPageFinished(WebView webView, String str) { super.onPageFinished(webView, str); if (PaymentActivity.b(this.f12009a) != null && PaymentActivity.b(this.f12009a).isShowing()) { PaymentActivity.b(this.f12009a).dismiss(); } } @Override // android.webkit.WebViewClient public boolean shouldOverrideUrlLoading(WebView webView, String str) { String str2; a.b("YEEPay open url:" + str); if (str.contains("https://ok.yeepay.com/paymobile/query/pay/success?")) { str2 = "YEEPay YEEPAY_WAP_SUCCESS_URL:https://ok.yeepay.com/paymobile/query/pay/success?"; } else { if (str.contains("http://mobiletest.yeepay.com/paymobile/query/pay/success?")) { str2 = "YEEPay YEEPAY_WAP_TEST_SUCCESS_URL:http://mobiletest.yeepay.com/paymobile/query/pay/success?"; } return super.shouldOverrideUrlLoading(webView, str); } a.b(str2); PaymentActivity.a(this.f12009a, "success"); return super.shouldOverrideUrlLoading(webView, str); } }