stop linter from warning about feature check

This commit is contained in:
Daniel Gultsch 2024-04-19 17:34:35 +02:00
parent 67c900b344
commit cfc22ba2af
No known key found for this signature in database
GPG key ID: F43D18AD2A0982C2

View file

@ -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);
}
}