Commit f94ac2ef authored by fallenstardust's avatar fallenstardust

复制带?的URL不跳转搜索

parent 98d5db52
...@@ -177,6 +177,9 @@ public class ServiceDuelAssistant extends Service { ...@@ -177,6 +177,9 @@ public class ServiceDuelAssistant extends Service {
if (TextUtils.isEmpty(cardSearchMessage)) { if (TextUtils.isEmpty(cardSearchMessage)) {
return; return;
} }
if (cardSearchMessage.indexOf("=") != -1) {
return;
}
Intent intent = new Intent(ServiceDuelAssistant.this, CardSearchAcitivity.class); Intent intent = new Intent(ServiceDuelAssistant.this, CardSearchAcitivity.class);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.putExtra(CardSearchAcitivity.SEARCH_MESSAGE, cardSearchMessage); intent.putExtra(CardSearchAcitivity.SEARCH_MESSAGE, cardSearchMessage);
......
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