commit | 018e3d97d0d5b704c7fbaf6477c35e9b9d93b29d | [log] [tgz] |
---|---|---|
author | Joanne Chung <joannechung@google.com> | Wed Aug 18 10:32:34 2021 +0800 |
committer | Joanne Chung <joannechung@google.com> | Wed Aug 18 06:50:28 2021 +0000 |
tree | ffdfa9d726faa6cbff4d80ba7d58524d8ac777ff | |
parent | 1b5d7b4c2a2b7ad9827dbf8557b97b5ef9d31465 [diff] |
Bug Fix: fix NullPointerException while scrolling message apps The issue will occur when the view is removed from the hierarchy by the time the translation response returns. Do a null check to make sure the view still exists. Bug: 196933332 Test: atest CtsTranslationTestCases Tese: manual. not see the crash when scrolling the apps. Change-Id: Ifee933a802385750d431800ef50f6f2c306ccc0f