Expose getTaskInfo on TaskView
There's a bunch of useful stuff on TaskInfo (e.g. taskDescription and background color). This exposes the existing method on TaskView so users of TaskView can get this info. Bug: 237678727 Test: none Change-Id: I95e4bc37562a9f51b2cf6cec6d03889f57222e30
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user