Loading core/api/test-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -419,6 +419,7 @@ package android.app { public class TaskInfo { method public boolean containsLaunchCookie(@NonNull android.os.IBinder); method @NonNull public android.content.res.Configuration getConfiguration(); method public int getDisplayId(); method public int getParentTaskId(); method @Nullable public android.app.PictureInPictureParams getPictureInPictureParams(); method @NonNull public android.window.WindowContainerToken getToken(); Loading core/java/android/app/TaskInfo.java +9 −0 Original line number Diff line number Diff line Loading @@ -426,6 +426,15 @@ public class TaskInfo { return parentTaskId != INVALID_TASK_ID; } /** * @return The id of the display this task is associated with. * @hide */ @TestApi public int getDisplayId() { return displayId; } /** * Returns {@code true} if the parameters that are important for task organizers are equal * between this {@link TaskInfo} and {@param that}. Loading Loading
core/api/test-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -419,6 +419,7 @@ package android.app { public class TaskInfo { method public boolean containsLaunchCookie(@NonNull android.os.IBinder); method @NonNull public android.content.res.Configuration getConfiguration(); method public int getDisplayId(); method public int getParentTaskId(); method @Nullable public android.app.PictureInPictureParams getPictureInPictureParams(); method @NonNull public android.window.WindowContainerToken getToken(); Loading
core/java/android/app/TaskInfo.java +9 −0 Original line number Diff line number Diff line Loading @@ -426,6 +426,15 @@ public class TaskInfo { return parentTaskId != INVALID_TASK_ID; } /** * @return The id of the display this task is associated with. * @hide */ @TestApi public int getDisplayId() { return displayId; } /** * Returns {@code true} if the parameters that are important for task organizers are equal * between this {@link TaskInfo} and {@param that}. Loading