From afeb940e264081ce39496279317ffb3ffda7ddc2 Mon Sep 17 00:00:00 2001 From: Ingo Kodba Date: Mon, 4 May 2026 12:26:09 +0200 Subject: [PATCH] fix(lint): declare telephony as optional uses-feature AGP 9.2.0's lint flags `CALL_PHONE` and `CALL_PRIVILEGED` with `PermissionImpliesUnsupportedChromeOsHardware` because the manifest declares the permissions without a matching `` entry for `android.hardware.telephony`. The errors are not absorbed by the existing baseline (generated against lint 9.0.1) and fail `./gradlew lint` on every PR opened against current main. Add the feature with `required="false"` since the app can install on tablets and ChromeOS devices that lack telephony hardware. The dialer features that need it already gate at runtime via `TelephonyManager`/`TelecomManager` checks. --- app/src/main/AndroidManifest.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 5bb585835..c14ae7725 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -27,6 +27,10 @@ android:name="android.permission.USE_FINGERPRINT" tools:node="remove" /> + +