Commit 637386c5 authored by fallenstardust's avatar fallenstardust

修复下拉状态栏打开主界面

parent 7675112a
......@@ -134,7 +134,9 @@ public class ServiceDuelAssistant extends Service {
break;
case CMD_START_GAME:
startActivity(new Intent(this,MainActivity.class));
Intent intent2 = new Intent(ServiceDuelAssistant.this, MainActivity.class);
intent2.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent2);
break;
default:
......
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