Minor changes in Settings
Battery moved to main menu. Change-Id: I0db89c197a1256aaac35ceb95bfa4a567ea6613f
This commit is contained in:
@@ -211,7 +211,9 @@ public class Settings extends PreferenceActivity implements ButtonBarHandler {
|
||||
public Intent getIntent() {
|
||||
Intent superIntent = super.getIntent();
|
||||
String startingFragment = getStartingFragmentClass(superIntent);
|
||||
if (startingFragment != null && !isMultiPane()) {
|
||||
// This is called from super.onCreate, isMultiPane() is not yet reliable
|
||||
// Do not use onIsHidingHeaders either, which relies itself on this method
|
||||
if (startingFragment != null && !onIsMultiPane()) {
|
||||
Intent modIntent = new Intent(superIntent);
|
||||
modIntent.putExtra(EXTRA_SHOW_FRAGMENT, startingFragment);
|
||||
Bundle args = superIntent.getExtras();
|
||||
|
Reference in New Issue
Block a user