Keep the dialog when touching outside the window

Bug: b/292189991
Test: by manual
Change-Id: I2df1a62956e1c43cccdf58478462b964ea3e49fe
This commit is contained in:
Allen Su
2023-08-09 11:16:28 +00:00
parent 14730baaf2
commit 9e696767e4

View File

@@ -364,6 +364,7 @@ public class LocaleListEditor extends RestrictedSettingsFragment implements View
}
});
mSuggestionDialog = dialogBuilder.create();
mSuggestionDialog.setCanceledOnTouchOutside(false);
mSuggestionDialog.show();
} else {
Log.d(TAG, "Invalid parameter, dialogType:" + dialogType);