| commit | 19666ccb534d0228d7212d4ef5e84855b9e29af0 | [log] [tgz] |
|---|---|---|
| author | Alex Chau <alexchau@google.com> | Mon Jun 09 12:16:15 2025 +0100 |
| committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jun 13 20:35:49 2025 -0700 |
| tree | f76d2b618345ede08f7409335a8117a388214ae8 | |
| parent | 3db164e7e207d0fe59afcc517805d5e8b85aa8d2 [diff] |
Mark TaskSnapshot from onAnimationCanceled Nullable - TaskSnapshot from onAnimationCanceled can be null, and our Kotlin assumes it's not and throws NullPointerException. Handle it gracefully instead. - Even though onAnimationCanceled doesn't provide updated screenshot, we still have the screenshot taken on swipe up as backup to show Fix: 413581605 Test: Manual (see steps in bug) Flag: EXEMPT bug fix (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7eb6b3fa1557873423d2fc6c286103ef141a24ff) Merged-In: Ic4aaa8e1a50a4e2a8b7b87baff5f2b1819a7e8ab Change-Id: Ic4aaa8e1a50a4e2a8b7b87baff5f2b1819a7e8ab