stop linter from warning about feature check
This commit is contained in:
parent
67c900b344
commit
cfc22ba2af
|
@ -494,6 +494,7 @@ public class CallIntegration extends Connection {
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
|
||||||
return packageManager.hasSystemFeature(PackageManager.FEATURE_TELECOM);
|
return packageManager.hasSystemFeature(PackageManager.FEATURE_TELECOM);
|
||||||
} else {
|
} else {
|
||||||
|
//noinspection deprecation
|
||||||
return packageManager.hasSystemFeature(PackageManager.FEATURE_CONNECTION_SERVICE);
|
return packageManager.hasSystemFeature(PackageManager.FEATURE_CONNECTION_SERVICE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue