commit | 50145bc883909c4b1533894a2b947eed21312514 | [log] [tgz] |
---|---|---|
author | Bjorn Bringert <bringert@android.com> | Thu Jun 11 12:30:48 2009 +0100 |
committer | Bjorn Bringert <bringert@android.com> | Thu Jun 11 12:30:48 2009 +0100 |
tree | 30d64220415b1fa77bbf6cfac661e956b4ea22d7 | |
parent | a05487dd856222bacf57a41f2dfe1194d3776f05 [diff] |
ACTV: getWindowVisibility() instead of private attach count When debugging a problem with the search dialog drop-down sometimes not showing up, I saw that the mAttachCount variable in AutoCompleteTextView could get a negative value because onDetachedFromWindow() was called multiple times. This lead to the drop-down not being displayed on filtering. Instead of the private attach count in ACTV, this change uses View.getWindowVisibility().