am f9a7abbe
: am 1d595713
: am 5a8b507e
: am a368f9a9
: am ddd887af
: Prevent crash when removing an account.
* commit 'f9a7abbea67bb7e00f84bda2d7a2f1543e9aac2d': Prevent crash when removing an account.
This commit is contained in:
@@ -88,6 +88,9 @@ public abstract class ConfirmDeviceCredentialBaseFragment extends InstrumentedFr
|
|||||||
if (intent != null) {
|
if (intent != null) {
|
||||||
CharSequence titleText = intent.getCharSequenceExtra(
|
CharSequence titleText = intent.getCharSequenceExtra(
|
||||||
ConfirmDeviceCredentialBaseFragment.TITLE_TEXT);
|
ConfirmDeviceCredentialBaseFragment.TITLE_TEXT);
|
||||||
|
if (titleText == null || suplementalText == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
String accessibilityTitle =
|
String accessibilityTitle =
|
||||||
new StringBuilder(titleText).append(",").append(suplementalText).toString();
|
new StringBuilder(titleText).append(",").append(suplementalText).toString();
|
||||||
getActivity().setTitle(Utils.createAccessibleSequence(titleText, accessibilityTitle));
|
getActivity().setTitle(Utils.createAccessibleSequence(titleText, accessibilityTitle));
|
||||||
|
Reference in New Issue
Block a user