moveTaskToBack(true);退到后台后再打开app无效,app继续走启动的activity走
1,设置去监听后退的按键方法@OverridepublicbooleanonKeyDown(intkeyCode,KeyEventevent){booleantaskRoot=isTaskRoot();Log.d("myapp",taskRoot+"");if(keyCode==KeyEvent.KEYCODE_BACK&&event.getAction()==KeyEvent.ACTION_DO