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

Commit 8829cf11 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

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
parent 2dac2cce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();