Example usage for android.app Activity shouldUpRecreateTask

List of usage examples for android.app Activity shouldUpRecreateTask

Introduction

In this page you can find the example usage for android.app Activity shouldUpRecreateTask.

Prototype

public boolean shouldUpRecreateTask(Intent targetIntent) 

Source Link

Document

Returns true if the app should recreate the task when navigating 'up' from this activity by using targetIntent.

Usage

From source file:Main.java

public static boolean shouldUpRecreateTask(Activity activity, Intent targetIntent) {
    return activity.shouldUpRecreateTask(targetIntent);
}