summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScriptGL.java
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2016-04-01 15:29:04 -0700
committerAdam Powell <adamp@google.com>2016-04-01 15:29:04 -0700
commitb963c99c3a1d896c45587c997e5293738c0a8a80 (patch)
tree2f7385c1f35ef2ff8686219608021403ffa6f6bb /rs/java/android/renderscript/RenderScriptGL.java
parent6c4af8c9150293eb2eb73dae39451f7624f81c19 (diff)
Don't performPendingDeferredStart on fragments that aren't added
Framework edition When setting a user visibility hint on a fragment it was possible to have a FragmentManager already set due to a transaction being composed but before the commit, so only checking that we have one isn't sufficient for determining whether we should perform a pending deferred start. This could happen easily with ViewPager adapters. Use isAdded() instead. Also fix a bug where we could set our internal tracking of fragments that need a deferred start incorrectly. Bug 27814550 Change-Id: I3be65728650c48d27a3a9dd4ca15f52006d14ab9
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptGL.java')
0 files changed, 0 insertions, 0 deletions