mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Adding support for multiple Model clients
Bug: 137568159 Change-Id: Ia4db800b19cc80c695fcb9ea28e07709dfd08c6a
This commit is contained in:
@@ -23,6 +23,8 @@ import android.view.View;
|
||||
import android.view.View.OnAttachStateChangeListener;
|
||||
import android.view.ViewTreeObserver.OnDrawListener;
|
||||
|
||||
import androidx.annotation.VisibleForTesting;
|
||||
|
||||
import com.android.launcher3.Launcher;
|
||||
|
||||
import java.util.ArrayList;
|
||||
@@ -118,7 +120,11 @@ public class ViewOnDrawExecutor implements Executor, OnDrawListener, Runnable,
|
||||
return mCompleted;
|
||||
}
|
||||
|
||||
protected void runAllTasks() {
|
||||
/**
|
||||
* Executes all tasks immediately
|
||||
*/
|
||||
@VisibleForTesting
|
||||
public void runAllTasks() {
|
||||
for (final Runnable r : mTasks) {
|
||||
r.run();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user