Fixes to parent fragment names and other manifest issues.

Bug: 5324865

Also, when jumping into a second+ level setting, make sure the header list
item is scrolled into view.

Change-Id: I714c1f80c8b20e23208763f1c30449a49f2a4082
This commit is contained in:
Amith Yamasani
2011-09-02 09:47:18 -07:00
parent 9fe945b854
commit 990fb52ef7
2 changed files with 6 additions and 2 deletions

View File

@@ -190,6 +190,7 @@ public class Settings extends PreferenceActivity implements ButtonBarHandler {
mCurrentHeader = parentHeader;
switchToHeaderLocal(parentHeader);
highlightHeader();
mParentHeader = new Header();
mParentHeader.fragment
@@ -217,6 +218,7 @@ public class Settings extends PreferenceActivity implements ButtonBarHandler {
Integer index = mHeaderIndexMap.get(mTopLevelHeaderId);
if (index != null) {
getListView().setItemChecked(index, true);
getListView().smoothScrollToPosition(index);
}
}
}