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

Commit 5be30d7d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Import ActivityManager inner classes directly" into tm-qpr-dev

parents a122bd8f d55e3bc2
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);
}