Merge "Removing number of threads used in background execution to prevent system thrashing" into sc-dev am: 194dcc0fd3 am: 37a9399471
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14626498 Change-Id: I771de61dc92f071e7ddef477429fbb6d8619c52a
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
package com.android.quickstep;
|
||||
|
||||
import static com.android.launcher3.util.Executors.MAIN_EXECUTOR;
|
||||
import static com.android.launcher3.util.Executors.THREAD_POOL_EXECUTOR;
|
||||
import static com.android.launcher3.util.Executors.UI_HELPER_EXECUTOR;
|
||||
|
||||
import android.view.SurfaceControl;
|
||||
@@ -102,7 +101,7 @@ public class RecentsAnimationController {
|
||||
*/
|
||||
@UiThread
|
||||
public void removeTaskTarget(@NonNull RemoteAnimationTargetCompat target) {
|
||||
THREAD_POOL_EXECUTOR.execute(() -> mController.removeTask(target.taskId));
|
||||
UI_HELPER_EXECUTOR.execute(() -> mController.removeTask(target.taskId));
|
||||
}
|
||||
|
||||
@UiThread
|
||||
|
||||
Reference in New Issue
Block a user