Merge "Expose getTaskInfo on TaskView" into tm-qpr-dev

This commit is contained in:
Mady Mellor
2022-09-16 16:19:45 +00:00
committed by Android (Google) Code Review

View File

@@ -517,7 +517,9 @@ public class TaskView extends SurfaceView implements SurfaceHolder.Callback,
getViewTreeObserver().removeOnComputeInternalInsetsListener(this);
}
ActivityManager.RunningTaskInfo getTaskInfo() {
/** Returns the task info for the task in the TaskView. */
@Nullable
public ActivityManager.RunningTaskInfo getTaskInfo() {
return mTaskInfo;
}