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 bunnei
parent 470c0e806a
commit 52fbdab999

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: {