diff options
author | Gilles Debunne <debunne@google.com> | 2011-02-25 14:34:20 -0800 |
---|---|---|
committer | Gilles Debunne <debunne@google.com> | 2011-02-25 14:34:20 -0800 |
commit | cd59febcea2b75ebe657786133dcfa81fc3d5eb1 (patch) | |
tree | c7f1550d32162813afa27e846e54d415031fad50 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 7ad9eb69c45fae0712f767a4b70f670113da92d9 (diff) |
AIOOB exception fix in TabWidget
Bug http://code.google.com/p/android/issues/detail?id=15005
The problem was not specific to the legacy theme. The code that first
measure the tab's width with no contraint was incorrectly using the
mImposedTabsWidth array which could not have the right size if a
child was added.
The first measure after a child is added should indeed crash. Could
be investigated. This fix is sure anyway.
Change-Id: I4c0594e92019aabc545619e874bdfd49ce69c90e
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions