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 742dd691f3
commit 79bef4a9dc

View File

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