From cfc22ba2afe5173727bab45830ef73da8ae7dfa1 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Fri, 19 Apr 2024 17:34:35 +0200 Subject: [PATCH] stop linter from warning about feature check --- .../java/eu/siacs/conversations/services/CallIntegration.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/eu/siacs/conversations/services/CallIntegration.java b/src/main/java/eu/siacs/conversations/services/CallIntegration.java index 5a226fc3b..a1bcd1a02 100644 --- a/src/main/java/eu/siacs/conversations/services/CallIntegration.java +++ b/src/main/java/eu/siacs/conversations/services/CallIntegration.java @@ -494,6 +494,7 @@ public class CallIntegration extends Connection { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) { return packageManager.hasSystemFeature(PackageManager.FEATURE_TELECOM); } else { + //noinspection deprecation return packageManager.hasSystemFeature(PackageManager.FEATURE_CONNECTION_SERVICE); } }