Make AutoCompleteTextView#setText(CharSequence, boolean) public

Bug 6807326

Public bug http://code.google.com/p/android/issues/detail?id=34690

Make this available for use by applications that wish to make
programmatic changes to the AutoCompleteTextView without filtering.

Change-Id: I889452d3b19b378258ad9247f3d254afee1e8408
This commit is contained in:
Adam Powell
2012-08-02 16:42:01 -07:00
parent 84aa999ed2
commit 478923885d
2 changed files with 1 additions and 2 deletions

View File

@@ -27470,6 +27470,7 @@ package android.widget {
method public void setListSelection(int);
method public void setOnItemClickListener(android.widget.AdapterView.OnItemClickListener);
method public void setOnItemSelectedListener(android.widget.AdapterView.OnItemSelectedListener);
method public void setText(java.lang.CharSequence, boolean);
method public void setThreshold(int);
method public void setValidator(android.widget.AutoCompleteTextView.Validator);
method public void showDropDown();

View File

@@ -904,8 +904,6 @@ public class AutoCompleteTextView extends EditText implements Filter.FilterListe
*
* @param filter If <code>false</code>, no filtering will be performed
* as a result of this call.
*
* @hide Pending API council approval.
*/
public void setText(CharSequence text, boolean filter) {
if (filter) {