* commit 'f29bc1df4e52090e2b55c63f63ef849722f267a4': Settings: Don't lose the switch bar returning to saver settings.
This commit is contained in:
@@ -63,7 +63,10 @@ public class BatterySaverSettings extends SettingsPreferenceFragment
|
||||
@Override
|
||||
public void onActivityCreated(Bundle savedInstanceState) {
|
||||
super.onActivityCreated(savedInstanceState);
|
||||
if (mCreated) return;
|
||||
if (mCreated) {
|
||||
mSwitchBar.show();
|
||||
return;
|
||||
}
|
||||
mCreated = true;
|
||||
addPreferencesFromResource(R.xml.battery_saver_settings);
|
||||
|
||||
|
Reference in New Issue
Block a user