Merge "Remove the explicit callback, not all of them" into sc-dev
This commit is contained in:
@@ -16,8 +16,6 @@
|
||||
|
||||
package com.android.wm.shell;
|
||||
|
||||
import android.os.Looper;
|
||||
|
||||
import com.android.wm.shell.common.ShellExecutor;
|
||||
|
||||
import java.util.ArrayList;
|
||||
@@ -39,11 +37,6 @@ public class TestShellExecutor implements ShellExecutor {
|
||||
mRunnables.add(r);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeAllCallbacks() {
|
||||
mRunnables.clear();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeCallbacks(Runnable r) {
|
||||
mRunnables.remove(r);
|
||||
|
||||
Reference in New Issue
Block a user