Commit 3264cf60 authored by feihuaduo's avatar feihuaduo

决斗助手卡查判断优化

parent b38ea101
...@@ -177,7 +177,8 @@ public class ServiceDuelAssistant extends Service { ...@@ -177,7 +177,8 @@ public class ServiceDuelAssistant extends Service {
if (TextUtils.isEmpty(cardSearchMessage)) { if (TextUtils.isEmpty(cardSearchMessage)) {
return; return;
} }
if (cardSearchMessage.indexOf("=") != -1) { //如果卡查内容包含“=”并且复制的内容包含“.”不卡查
if (cardSearchMessage.contains("=")&&clipMessage.contains(".")) {
return; return;
} }
Intent intent = new Intent(ServiceDuelAssistant.this, CardSearchAcitivity.class); Intent intent = new Intent(ServiceDuelAssistant.this, CardSearchAcitivity.class);
......
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