diff options
author | Robert Carr <racarr@google.com> | 2019-09-26 10:44:16 -0700 |
---|---|---|
committer | Robert Carr <racarr@google.com> | 2019-09-26 10:44:16 -0700 |
commit | 9421048a1f34aadb6b49ae602dd504322ad5243a (patch) | |
tree | d6194605b58adb00800ee1153e6ed17ed904f366 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 7f9a4c9e8cc8d32a6128c9c55d576793a2f0ecf8 (diff) |
Continued SurfaceView lifetime fixes.
More errors in the positionLost refactoring, it turns out positionLost
can be called after we are fully detached and so ViewRootImpl can be null
(which it can't be anywhere else in the SurfaceView code). Guard against this
and guard against ViewRoot.mSurface being released since it seems this intermediate
state would also be possible.
Bug: 141474834
Test: Manual
Change-Id: Id34e667bf319deb6e8b26346225b604a54dc342c
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions