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

Commit ffc3f50b authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Android (Google) Code Review
Browse files

Merge "Fix threading issue with splash screens" into oc-dr1-dev

parents 73f94e78 a338219a
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -685,7 +685,10 @@ public class AppWindowContainerController

            if (DEBUG_STARTING_WINDOW) Slog.v(TAG_WM, "Schedule remove starting " + mContainer
                    + " startingWindow=" + mContainer.startingWindow);
            mHandler.post(mRemoveStartingWindow);

            // 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.
            mService.mAnimationHandler.post(mRemoveStartingWindow);
        }
    }