diff options
author | Joanne Chung <joannechung@google.com> | 2021-08-18 10:32:34 +0800 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-08-19 02:37:50 +0000 |
commit | 1c968fb0797455d17ceea63cea546e319f57e249 (patch) | |
tree | 7fdbfe9187d75a00d71dda983a85badee4263079 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 1ddab32206a601acdebce74be3499c25720cb43f (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
(cherry picked from commit 018e3d97d0d5b704c7fbaf6477c35e9b9d93b29d)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions