summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Program.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2021-07-02 14:06:22 +0800
committerRiddle Hsu <riddlehsu@google.com>2021-07-06 12:36:39 +0800
commit9a2454c59578c50057440134f1f525650985f07f (patch)
treeef274d43be287dcd036c50c6442df7f548ec65f5 /rs/java/android/renderscript/Program.java
parente085ae55d8d93adc78e9417955d401cba88b63ca (diff)
Fix NPE caused by config change on a destroyed activity
The config callback from view root may not know the state of activity. That may trigger a stale callback, so - Restore the null check when getting mSizeConfigurations. - Clear the callback if the activity will be removed. Bug: 192603207 Test: ActivityLifecycleTopResumedStateTests Change-Id: I17ea8fc2ba994f630d5ad7baa3de298d90a32827
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions