summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2012-12-11 14:02:55 -0800
committerChet Haase <chet@google.com>2012-12-11 14:05:24 -0800
commitbfea76c7879306f62338546665e8d347197ea179 (patch)
tree6289ed9c105f3f0c716f2919d1d5016683f888bd /graphics/java/android/renderscript/ProgramVertexFixedFunction.java
parent1ef98fb37e1b1cb0d2bf6ab448b4ff52f5f28e80 (diff)
Fix requestLayout-during-layout issue with Gallery
The way that the Gallery was adding views (which it does in layout) triggered a requestLayout() because of a call to setLayoutParams() in View.addViewInner(). This tripped up the new logic that makes layout-in-layout work, causing layout to be called on every frame, even when the app was not doing anything. The fix is to call the appropriate version of requestLayoutInner() to tell it to skip calls to requestLayout(). Issue #7714495 requestLayout in endless loop Change-Id: Icdcd886d30e4dd972da36bc6e50732c7213530c5
Diffstat (limited to 'graphics/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions