Commit 6ff05155 authored by feihuaduo's avatar feihuaduo

修复部分卡转为卡组码错误的问题

parent a30eff35
......@@ -197,6 +197,7 @@ public interface Constants {
String SCHEME_HTTPS = "https";
String SCHEME_APP = "ygo";
String URI_HOST = "deck";
String URI_DECK = "deck";
String QUERY_YDK = "ydk";
String QUERY_NAME = "name";
......@@ -226,4 +227,47 @@ public interface Constants {
String DEF_ENCODING = "utf-8";
String[] NUM_40_LIST={
"0"
,"1"
,"2"
,"3"
,"4"
,"5"
,"6"
,"7"
,"8"
,"9"
,"a"
,"b"
,"c"
,"d"
,"e"
,"f"
,"g"
,"h"
,"i"
,"j"
,"k"
,"l"
,"m"
,"n"
,"o"
,"p"
,"q"
,"r"
,"s"
,"t"
,"u"
,"v"
,"w"
,"x"
,"y"
,"z"
,"A"
,"B"
,"C"
,"D"
};
}
......@@ -239,7 +239,7 @@ public class GameUriManager {
// if (!Constants.URI_HOST.equalsIgnoreCase(host)) {
// return;
// }
if (Constants.URI_HOST.equals(host)) {
if (Constants.URI_DECK.equals(host)) {
String name = uri.getQueryParameter(QUERY_NAME);
if (!TextUtils.isEmpty(name)) {
doOpenPath(name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment