Skip to content

Commit

Permalink
Support Taobao 10.36.10 with older alipay sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
eritpchy committed May 27, 2024
1 parent 016a445 commit 12b452c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ public void onActivityResumed(Activity activity) {
boolean isRechargePay = (ViewUtils.isShown(ViewUtils.findViewByName(activity, "com.alipay.android.phone.mobilecommon.verifyidentity", "input_et_password"))
&& ViewUtils.isShown(ViewUtils.findViewByName(activity, "com.alipay.android.phone.mobilecommon.verifyidentity", "keyboard_container")));

boolean isNormalPay = ViewUtils.isShown(ViewUtils.findViewByText(rootView,"请输入长密码", "請輸入長密碼", "Payment Password"))
boolean isNormalPay = ViewUtils.isShown(ViewUtils.findViewByText(rootView,
"支付宝支付密码", "支付寶支付密碼", "Alipay Payment Password", //兼容上一版本的支付组件, 参考 10.28.10(473)
"请输入长密码", "請輸入長密碼", "Payment Password"))
|| ViewUtils.isShown(ViewUtils.findViewByText(rootView,"密码共6位,已输入0位"));
if (isRechargePay || isNormalPay) {
if (mIsViewTreeObserverFirst) {
Expand Down

0 comments on commit 12b452c

Please sign in to comment.