android/swkbd: Properly set uncancelable

When using a DialogFragment you have to set this property on the DialogFragment itself.
This commit is contained in:
zhupengfei 2020-04-04 13:11:08 +08:00 committed by xperia64
parent f941f8567d
commit a0b856536c

View File

@ -125,8 +125,8 @@ public final class SoftwareKeyboard {
AlertDialog.Builder builder = new AlertDialog.Builder(emulationActivity)
.setTitle(R.string.software_keyboard)
.setView(container)
.setCancelable(false);
.setView(container);
setCancelable(false);
switch (config.button_config) {
case ButtonConfig.Triple: {