There are several painful issues with the initial CL. Doing a revert for now and will rework this.
Revert "Fix bug #12939786 BACK should go back into the Fragments BackStack and finally to Overview ...and then exit the Settings App"
This reverts commit 4cc95a53c2
.
Change-Id: Iaa21d4771d0b004eff3d8e68b91b546a633d8f23
This commit is contained in:
@@ -328,6 +328,14 @@ public class PrintServiceSettingsFragment extends SettingsPreferenceFragment
|
||||
final boolean enabled = arguments.getBoolean(PrintSettingsFragment.EXTRA_CHECKED);
|
||||
mToggleSwitch.setCheckedInternal(enabled);
|
||||
|
||||
// Title.
|
||||
SettingsActivity activity = (SettingsActivity) getActivity();
|
||||
if (!activity.onIsHidingHeaders()) {
|
||||
mOldActivityTitle = getActivity().getTitle();
|
||||
String title = arguments.getString(PrintSettingsFragment.EXTRA_TITLE);
|
||||
getActivity().getActionBar().setTitle(title);
|
||||
}
|
||||
|
||||
// Settings title and intent.
|
||||
String settingsTitle = arguments.getString(PrintSettingsFragment.EXTRA_SETTINGS_TITLE);
|
||||
String settingsComponentName = arguments.getString(
|
||||
|
Reference in New Issue
Block a user