Fix old device locked dialog crash.

This commit is contained in:
Cody Henthorne
2021-04-05 14:10:54 -04:00
parent d5a73a3380
commit 449ea9375e
2 changed files with 2 additions and 5 deletions

View File

@@ -47,10 +47,7 @@ public final class OldDeviceTransferLockedDialog extends DialogFragment {
.setPositiveButton(R.string.OldDeviceTransferLockedDialog__done, (d, w) -> OldDeviceExitActivity.exit(requireActivity()))
.setNegativeButton(R.string.OldDeviceTransferLockedDialog__cancel_and_activate_this_device, (d, w) -> onUnlockRequest());
Dialog dialog = dialogBuilder.create();
dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
return dialog;
return dialogBuilder.create();
}
private void onUnlockRequest() {