commit | 4b3c9c351bdb6cd87116a03abc6b968c67eec499 | [log] [tgz] |
---|---|---|
author | Nate Myren <ntmyren@google.com> | Thu Apr 28 15:52:18 2022 -0700 |
committer | Nate Myren <ntmyren@google.com> | Thu Apr 28 15:52:18 2022 -0700 |
tree | 347a6f38cc88f7d6c0350f8eb175d68d04a99ddb | |
parent | 248ceefac6bae52e183305dd5f7c611241441eeb [diff] |
Handle saveInstanceState when viewHandler is null If the ViewHandler or ViewModel are null, do not save instance state. Also, when delegating an activity, ensure the viewModel and ViewHandler are initialized. Bug: 227547811 Test: atest NotificationPermissionTest Change-Id: I9b24b1f240cf202f96ec2a9e79a27415c1ce67fc