diff options
author | George Mount <mount@google.com> | 2017-09-08 15:38:30 -0700 |
---|---|---|
committer | George Mount <mount@google.com> | 2017-09-08 16:01:10 -0700 |
commit | 476aeeaba2e3b955c73bd7f9838291d57577c8dd (patch) | |
tree | 7f0299538194263492b147ebf01dad6718c04406 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 56b7e5689065215f7397f2255dee9a22f4fb2029 (diff) |
Fix showing views after failed transition to translucent window.
Bug: 65268614
When an activity transition was used with the top activity being
translucent, and the top activity calls finish() instead of
finishAfterTransition(), the transitioned views were not being
drawn properly. The source of the problem was that
setTransitionVisibility() was being used instead of setVisibility().
Transitions normally use setTransitionVisibility() to modify
the view's visibility without triggering an invalidation. But
when we want the view to be invalidated by the visibility change,
setTransitionVisibility() prevents the invalidate() from
actually invalidating the view.
Test: manual
Change-Id: I250ea232052d1a1309d3341504cba77543a94eec
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions