do not ask to show notifications in our own text fields
This commit is contained in:
parent
1aa68eca60
commit
98eac9da51
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue