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

Commit ddd887af authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Prevent crash when removing an account.

Bug: 21164141
Change-Id: Ib7cee6d8478b49339fd3477e2369da15069f9c3f
parent 963e3fdd
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -88,6 +88,9 @@ public abstract class ConfirmDeviceCredentialBaseFragment extends InstrumentedFr
        if (intent != null) {
            CharSequence titleText = intent.getCharSequenceExtra(
                    ConfirmDeviceCredentialBaseFragment.TITLE_TEXT);
            if (titleText == null || suplementalText == null) {
                return;
            }
            String accessibilityTitle =
                    new StringBuilder(titleText).append(",").append(suplementalText).toString();
            getActivity().setTitle(Utils.createAccessibleSequence(titleText, accessibilityTitle));