List of usage examples for android.app ActivityManager MOVE_TASK_WITH_HOME
int MOVE_TASK_WITH_HOME
To view the source code for android.app ActivityManager MOVE_TASK_WITH_HOME.
Click Source Link
From source file:Main.java
public static void moveTaskToFront(Context context, int taskId) { ActivityManager am = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE); am.moveTaskToFront(taskId, ActivityManager.MOVE_TASK_WITH_HOME); }