Remove Handler for Syncing Config Changes

Because WindowManagerService (WMS) and ActivityTaskManagerService (ATMS)
are under a single lock, there is no need to post to a handler within
WMS to prevent deadlock. This CL replaces the code that posts to the
handler with the code that gets executed when the handler receives the
message.

In addition, sendNewConfiguration has been wholly moved to
DisplayContent, so all callers of
WindowManagerService.sendNewConfiguration now call
DisplayContent.sendNewConfiguration.

Bug: 130807132
Test: go/wm-smoke
Change-Id: I278c4c5798983ce367014b9bbee07c4969bfce65
diff --git a/services/core/java/com/android/server/wm/ActivityDisplay.java b/services/core/java/com/android/server/wm/ActivityDisplay.java
index fe4811d..cd72824 100644
--- a/services/core/java/com/android/server/wm/ActivityDisplay.java
+++ b/services/core/java/com/android/server/wm/ActivityDisplay.java
@@ -174,6 +174,7 @@
         mDisplayId = display.getDisplayId();
         mDisplay = display;
         mDisplayContent = createDisplayContent();
+        mDisplayContent.reconfigureDisplayLocked();
         updateBounds();
     }