ViewRootImpl: Ensure layout when configuration changes.
When the configuration changes between landscape and reverse landscape, the app will not receive onConfigurationChanged as orientation is not part of the public portion of the configuration. However, when the ViewRootImpl receives such a configuration back from relayout, it will force a layout of the client views (see updatedConfiguration in performTraversals), this is because Configuration#equals compares the non public part of the configuration as well. This CL changes MSG_REPORT_RESIZED to handle the configuration changing the same way performTraversals does, so that the app consistently receives a configuration change. Bug: 134643273 Test: Manual Change-Id: If016bcd9a5b8d2a7efc5e1ab3c82a88a608caf8b
Loading
Please register or sign in to comment