Merge "Add a private method to retrieve the header list from PreferenceActivity" into jb-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
998a68369f
@ -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.
|
||||
|
Reference in New Issue
Block a user