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

Commit d55e3bc2 authored by Peter Kalauskas's avatar Peter Kalauskas
Browse files

Import ActivityManager inner classes directly

Test: studiow
Bug: 251871740
Bug: 236188940
Change-Id: I91cb52184a896529fbe0a26a09df0686dccac7de
parent c92260f2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

package com.android.wm.shell.recents;

import android.app.ActivityManager;
import android.app.ActivityManager.RunningTaskInfo;

import com.android.wm.shell.recents.IRecentTasksListener;
import com.android.wm.shell.util.GroupedRecentTaskInfo;
@@ -44,5 +44,5 @@ interface IRecentTasks {
    /**
     * Gets the set of running tasks.
     */
    ActivityManager.RunningTaskInfo[] getRunningTasks(int maxNum) = 4;
    RunningTaskInfo[] getRunningTasks(int maxNum) = 4;
}
+4 −4
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

package com.android.wm.shell.recents;

import android.app.ActivityManager;
import android.app.ActivityManager.RunningTaskInfo;

/**
 * Listener interface that Launcher attaches to SystemUI to get split-screen callbacks.
@@ -31,10 +31,10 @@ oneway interface IRecentTasksListener {
    /**
     * Called when a running task appears.
     */
    void onRunningTaskAppeared(in ActivityManager.RunningTaskInfo taskInfo);
    void onRunningTaskAppeared(in RunningTaskInfo taskInfo);

    /**
     * Called when a running task vanishes.
     */
    void onRunningTaskVanished(in ActivityManager.RunningTaskInfo taskInfo);
    void onRunningTaskVanished(in RunningTaskInfo taskInfo);
}