Merge "Fix threading issue with splash screens" into oc-dr1-dev
This commit is contained in:
@@ -685,7 +685,10 @@ public class AppWindowContainerController
|
|||||||
|
|
||||||
if (DEBUG_STARTING_WINDOW) Slog.v(TAG_WM, "Schedule remove starting " + mContainer
|
if (DEBUG_STARTING_WINDOW) Slog.v(TAG_WM, "Schedule remove starting " + mContainer
|
||||||
+ " startingWindow=" + mContainer.startingWindow);
|
+ " 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user