when I tried to exit, I run the code below, but I can't kill the progress,
so if I restart my App, another progress started.what's the matter?
my exit code:
Intent startMain = new Intent(Intent.ACTION_MAIN);
startMain.addCategory(Intent.CATEGORY_HOME);
startMain.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(startMain);
System.exit(0);
finish();