Java Code Examples for android.content.Intent.FLAG_ACTIVITY_CLEAR_TASK

The following are Jave code examples for showing how to use FLAG_ACTIVITY_CLEAR_TASK of the android.content.Intent class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: RLibrary   File: RCrashHandler.java   View Source Code Vote up 6 votes
private static int getStartIntentFlags() {
    return Intent.FLAG_ACTIVITY_NO_ANIMATION |
            Intent.FLAG_ACTIVITY_NEW_TASK |
            Intent.FLAG_ACTIVITY_CLEAR_TASK |
            Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED;
}