commit | 6c675a3a48260077dedfd23679f55d833f3ea526 | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Wed Aug 04 10:13:13 2021 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Wed Aug 04 10:16:41 2021 +0800 |
tree | 44c030b4bf47a9a5c35eeaba1dc83ca3caf645bc | |
parent | 15fd1a115ca0ad367c8a480d1d4aa350c89f26c3 [diff] |
Fix NPE when calling recreate in onCreate ActivityClientRecord#activity is assigned after calling Activity#onCreate. A use case is that the app uses support library to set night mode in onCreate. Bug: 195418295 Test: Invoke Activity#recreate() in Activity#onCreate. Change-Id: I6319cd6ee94fc2603979da47303963d04168db04