diff options
| author | 2017-09-05 12:28:52 +0200 | |
|---|---|---|
| committer | 2017-09-06 12:50:47 +0000 | |
| commit | 8829cf110040ff3e274003eef801e4e7f030a483 (patch) | |
| tree | 5550f469b5dbedc886c7b81f1bc0edb392f3267a | |
| parent | 2dac2cce5a2f28ae368e7e6af6fb4e49ac22c5b4 (diff) | |
Use correct thread to remove starting window
Test: Open app, reopen app
Test: go/wm-smoke
Bug: 63784898
Bug: 64954955
Fixes: 65256018
Change-Id: I58eb90796a002cc6962efd686cef73fb36040567
| -rw-r--r-- | services/core/java/com/android/server/wm/AppWindowContainerController.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/wm/AppWindowContainerController.java b/services/core/java/com/android/server/wm/AppWindowContainerController.java index b083aee55a53..8b9548357820 100644 --- a/services/core/java/com/android/server/wm/AppWindowContainerController.java +++ b/services/core/java/com/android/server/wm/AppWindowContainerController.java @@ -652,7 +652,7 @@ public class AppWindowContainerController // Use the same thread to remove the window as we used to add it, as otherwise we end up // with things in the view hierarchy being called from different threads. - mHandler.post(() -> { + mService.mAnimationHandler.post(() -> { if (DEBUG_STARTING_WINDOW) Slog.v(TAG_WM, "Removing startingView=" + surface); try { surface.remove(); |