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

Commit bce8fc79 authored by SongFerng Wang's avatar SongFerng Wang Committed by Automerger Merge Worker
Browse files

Merge "Fix SmartForwardingActivity crash at screen rotation" into main am: 14393a5f

parents e910d895 14393a5f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -48,8 +48,7 @@ public class SmartForwardingFragment extends PreferenceFragmentCompat
    public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
        setPreferencesFromResource(R.xml.smart_forwarding_switch, rootKey);

        String title = getResources().getString(R.string.smart_forwarding_title);
        getActivity().getActionBar().setTitle(title);
        getActivity().setTitle(R.string.smart_forwarding_title);

        TwoStatePreference smartForwardingSwitch = findPreference(KEY_SMART_FORWARDING_SWITCH);
        if (turnOffSwitch) {