commit | 91370114ea6aacf3189a57eac25c960509208dd6 | [log] [tgz] |
---|---|---|
author | Uwais Ashraf <uwaisashraf@google.com> | Thu Feb 20 17:03:27 2025 +0000 |
committer | Uwais Ashraf <uwaisashraf@google.com> | Thu Feb 20 17:03:27 2025 +0000 |
tree | 8ddde2bec16d6206d7f82e478a60f942284e96d7 | |
parent | c7e545674d530f005d48605845f83c6fce825d4c [diff] |
Add null checks to prevent NPE on ViewModel. ViewModel can be null if onRecycle completes before coroutineJob is cancelled. Fix: 395751707 Flag: Exempt - test fix Test: OpenActivityEmbeddingPlaceholderSplitTest in postsubmit Change-Id: I12e1f6e2e5951ae04264fc8ea9d45b6ac6d43308