summaryrefslogtreecommitdiff
path: root/libs/rs/rsg_ScriptJavaClass.cpp
diff options
context:
space:
mode:
authorGilles Debunne <debunne@google.com>2010-03-02 11:00:50 -0800
committerGilles Debunne <debunne@google.com>2010-03-02 11:00:50 -0800
commit176f9fc215194411cf0461a178d77fa57486112b (patch)
treea4a613a2d32ab7e1e1bac3feb3009699a12511f4 /libs/rs/rsg_ScriptJavaClass.cpp
parent3c5d27ab1b34548baae6b395ca33ce869aad254d (diff)
Null pointer tests removed from HeaderViewListAdapter.
The mHeaderViewInfos and mFooterViewInfos lists were sometimes tested for nullity and sometimes not. Should these values be null, some conditionnal code was actually flawed in getView() and getItem() because of too strong 'and' conditionnals. These lists are created upon declaration in ListView and are then shared and hence cannot be null. Null tests were hence removed. getView() and getItem() get simpler and work as before. Change-Id: I279e482730ce6148a559d15a9863afc8f6b67780
Diffstat (limited to 'libs/rs/rsg_ScriptJavaClass.cpp')
0 files changed, 0 insertions, 0 deletions