forked from dss16694/WechatFp
-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ 适配支付宝10.2.13.7000 + 适配淘宝9.20.0 + QQ屏下指纹优化
- Loading branch information
Showing
5 changed files
with
129 additions
and
76 deletions.
There are no files selected for viewing
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
61 changes: 61 additions & 0 deletions
61
app/src/main/java/com/yyxx/wechatfp/util/TaobaoVersionControl.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
package com.yyxx.wechatfp.util; | ||
|
||
public class TaobaoVersionControl { | ||
|
||
public static DigitPasswordKeyPad getDigitPasswordKeyPad(int taobaoVersion) { | ||
//9.20.0 | ||
if (taobaoVersion >= 323) { | ||
return new DigitPasswordKeyPad("com.taobao.taobao", | ||
new String[]{"au_num_1"}, | ||
new String[]{"au_num_2"}, | ||
new String[]{"au_num_3"}, | ||
new String[]{"au_num_4"}, | ||
new String[]{"au_num_5"}, | ||
new String[]{"au_num_6"}, | ||
new String[]{"au_num_7"}, | ||
new String[]{"au_num_8"}, | ||
new String[]{"au_num_9"}, | ||
new String[]{"au_num_0"}); | ||
} else { | ||
return new DigitPasswordKeyPad("com.taobao.taobao", | ||
new String[]{"key_num_1"}, | ||
new String[]{"key_num_2"}, | ||
new String[]{"key_num_3"}, | ||
new String[]{"key_num_4", "key_4"}, | ||
new String[]{"key_num_5"}, | ||
new String[]{"key_num_6"}, | ||
new String[]{"key_num_7"}, | ||
new String[]{"key_num_8"}, | ||
new String[]{"key_num_9"}, | ||
new String[]{"key_num_0"}); | ||
} | ||
} | ||
|
||
public static class DigitPasswordKeyPad { | ||
public String modulePackageName; | ||
public String[] key1; | ||
public String[] key2; | ||
public String[] key3; | ||
public String[] key4; | ||
public String[] key5; | ||
public String[] key6; | ||
public String[] key7; | ||
public String[] key8; | ||
public String[] key9; | ||
public String[] key0; | ||
|
||
public DigitPasswordKeyPad(String modulePackageName, String[] key1, String[] key2, String[] key3, String[] key4, String[] key5, String[] key6, String[] key7, String[] key8, String[] key9, String[] key0) { | ||
this.modulePackageName = modulePackageName; | ||
this.key1 = key1; | ||
this.key2 = key2; | ||
this.key3 = key3; | ||
this.key4 = key4; | ||
this.key5 = key5; | ||
this.key6 = key6; | ||
this.key7 = key7; | ||
this.key8 = key8; | ||
this.key9 = key9; | ||
this.key0 = key0; | ||
} | ||
} | ||
} |
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
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
Oops, something went wrong.