summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorFeng Cao <fengcao@google.com>2020-06-07 18:46:19 -0700
committerFeng Cao <fengcao@google.com>2020-06-08 18:52:21 -0700
commit10e6217a8de772395d9b74174eeb1280bfe821aa (patch)
treead540dc29866250473fbe68f26bb419250cbb6b5 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent8083336a8897437f8290de43d30e7fb1b62e9fda (diff)
Fix NPE in InlineContentView
* The NPE is due to in the InlineContentView we try to reparent the surface view which is no longer attached to the window, this can happen if the InlineContentView is attached to window and then immediately detached from the window, before the surface package is returned from the remote view process. * Release the surface package immediately in this case, so the remote view can be released. Test: atest android.autofillservice.cts.inline Bug: 158139090 Change-Id: I9efdf8ba182a1d66334362edcfb6ba58fcdc222a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions