Commit 637386c5 authored by fallenstardust's avatar fallenstardust

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

parent 7675112a
...@@ -134,7 +134,9 @@ public class ServiceDuelAssistant extends Service { ...@@ -134,7 +134,9 @@ public class ServiceDuelAssistant extends Service {
break; break;
case CMD_START_GAME: 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; break;
default: 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