commit | 866545aa95536fdfccfaea4391d0c0f7d63d6710 | [log] [tgz] |
---|---|---|
author | Jin Cao <jinyan@google.com> | Thu Sep 25 13:08:36 2014 -0700 |
committer | Jin Cao <jinyan@google.com> | Thu Sep 25 13:08:36 2014 -0700 |
tree | 5214c63884a332f67c9be4ec725697693979f2ff | |
parent | 13cb6dc9abd55e1a383c06ff60d6ab4db8ddfc0b [diff] |
Don't crash on empty adapters SeparatedFolderListAdapter can have empty adapter children, in which case the position == 0 check is actually invalid. We should always just check position < count since it emcompasses position == 0. b/17070221 Change-Id: I480aa8ce226edff03e33d73b01e6a2fdf23e0b0d