[RESTRICT AUTOMERGE] Send WindowContext config only when Display is active

WMS may provide stale configuration value when secondary display
is off. This CL makes WindowContext only receives Configuration updates
if the display of associated WindowContainer is not suspended.

Test: atest WindowContextListenerControllerTests
Test: atest InputMethodMenuControllerTest
Bug: 198965093

Change-Id: I3c2871823f1b104f89bb801f3bf5ecef01966bb3
4 files changed