Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5c2d7237 authored by Fabrice Di Meglio's avatar Fabrice Di Meglio
Browse files

Code cleaning for Printing Settings

- remove non needed code

Change-Id: I18a3992d66721dbeba6870aa2834e1c717640a15
parent a7ad619a
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -328,14 +328,6 @@ 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(