commit | 2d43d283fc0f22b08f43c6db4da71031168e7f59 | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Thu Sep 29 15:16:16 2011 -0700 |
committer | Amith Yamasani <yamasani@google.com> | Thu Sep 29 15:16:16 2011 -0700 |
tree | 69331f9c9c804f38b3f9360a11327ffa8654070c | |
parent | 2452ad3028b2a30b0b3abca86fe11ec0465a96b7 [diff] |
Handle the case of Preference lists that have header views inserted at the top. Without this change, wrong Preference is returned when you select one. Subtract the number of headers from the index before querying the adapter. Needed for: Bug: 5203189 Change-Id: Iba7277789ebbd7e3e9954931b1ea06c7e34f3c15