Fix ConcurrentModificationException in WindowContext

When shouldReportConfigChange is false, it is in process of initializing
WindowContext, which should not report config change nor trigger
onDisplayChanged.

Fix: 334285008
Test: atest FrameworksCoreTests:ClientTransactionListenerControllerTest
Change-Id: Ib66d688a4caf747db4e2f6c7097290e995918f0b
3 files changed