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

Commit 00c7ce15 authored by Fabrice Di Meglio's avatar Fabrice Di Meglio Committed by Android (Google) Code Review
Browse files

Merge "Fix bug #12898564 Settings Crash on Renaming the device."

parents 5caff937 3b52963e
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -26,7 +26,6 @@ import android.content.DialogInterface;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Bundle;
import android.preference.PreferenceActivity;
import android.text.Editable;
import android.text.InputFilter;
import android.text.TextWatcher;
@@ -179,9 +178,8 @@ public final class BluetoothNameDialogFragment extends DialogFragment implements
            mDeviceNameUpdated = true;
            mDeviceNameEdited = false;
            mDeviceNameView.setText(mLocalAdapter.getName());
            getActivity().setTitle(mLocalAdapter.getName());
        }
        PreferenceActivity activity = (PreferenceActivity)getActivity();
        activity.showBreadCrumbs(mLocalAdapter.getName(), "");
    }

    public void afterTextChanged(Editable s) {