Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0cde4a92 authored by Mady Mellor's avatar Mady Mellor
Browse files

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
parent 73d8f6ce
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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;
    }