1
0
Fork 0

do not ask to show notifications in our own text fields

This commit is contained in:
sspanak 2025-06-23 12:57:04 +03:00 committed by Dimo Karaivanov
parent 1aa68eca60
commit 98eac9da51

View file

@ -199,7 +199,7 @@ public class TraditionalT9 extends MainViewHandler {
private void askForNotifications() { private void askForNotifications() {
if (DeviceInfo.AT_LEAST_ANDROID_13 && !InputModeKind.isPassthrough(mInputMode) && settings.shouldAskForNotifications()) { if (DeviceInfo.AT_LEAST_ANDROID_13 && !InputModeKind.isPassthrough(mInputMode) && settings.shouldAskForNotifications() && !inputType.isUs()) {
settings.setNotificationsApproved(false); settings.setNotificationsApproved(false);
RequestPermissionDialog.show(this, Manifest.permission.POST_NOTIFICATIONS); RequestPermissionDialog.show(this, Manifest.permission.POST_NOTIFICATIONS);
} }