commit | ce1ecf1f346e55a02159b3a1bb7f5d648efb042b | [log] [tgz] |
---|---|---|
author | Andrii Kulian <akulian@google.com> | Fri Mar 17 14:58:36 2017 -0700 |
committer | Andrii Kulian <akulian@google.com> | Fri Mar 17 16:54:34 2017 -0700 |
tree | 1ef8b57c8726292dde7409f2d4dbded8fc2f26ee | |
parent | ff8b79e162cb4e1c7a8152b9f6cf44dbaceeb175 [diff] |
Fix NPE when config is updated before ViewRootImpl is set If activity received a configuration change before it had its ViewRootImpl initialize, then there was a NPE when trying to notify the ViewRootImpl instance about latest changes. Bug: 36396248 Test: android.server.cts.ActivityManagerAppConfigurationTests Test: #testLaunchWithUiModeChange Test: Launch AndroidAuto app Change-Id: I71e0f316f885a30dadce388bbd3d9f21f419076b