Merge "Add a private method to retrieve the header list from PreferenceActivity" into jb-dev

This commit is contained in:
Amith Yamasani
2012-06-20 15:44:48 -07:00
committed by Android (Google) Code Review

View File

@ -650,6 +650,14 @@ public abstract class PreferenceActivity extends ListActivity implements
&& mPreferenceManager == null;
}
/**
* Returns the Header list
* @hide
*/
public List<Header> getHeaders() {
return mHeaders;
}
/**
* Returns true if this activity is showing multiple panes -- the headers
* and a preference fragment.