Skip to content

K2GO-456 chore(cleanup): remove unused biometric code, library and permissions - #643

Merged
luisguzman-adfa merged 1 commit into
mainfrom
chore/K2GO-456-remove-biometrics
Oct 8, 2026
Merged

luisguzman-adfa merged 1 commit into
mainfrom
chore/K2GO-456-remove-biometrics

Conversation

@luisguzman-adfa

Copy link
Copy Markdown
Collaborator

BiometricHelper had no callers, but the androidx.biometric library injected
USE_BIOMETRIC and USE_FINGERPRINT into the merged manifest: the APK declared
biometric permissions the app never uses (Play counts declared permissions, not
runtime use).

Changes:

  • Delete BiometricHelper.java (no call sites).
  • Remove androidx.biometric:1.1.0, which drops USE_BIOMETRIC and USE_FINGERPRINT.
  • Remove the orphaned security_required_title / security_required_msg strings
    (all locales). Keep go_to_settings (shared with BatteryUtils).
  • Clear the stale biometric block and help text in TerminalController.

Verification: assembleStandardDebug green; the packaged manifest no longer
declares either permission.

…rmissions

BiometricHelper had no callers, but the androidx.biometric library injected
USE_BIOMETRIC and USE_FINGERPRINT into the merged manifest: biometric permissions
the app never uses. Delete the helper, drop the library (which removes both
permissions), remove the orphaned security_required_* strings, and clear the
stale biometric mentions in TerminalController.
@luisguzman-adfa
luisguzman-adfa merged commit 1b861e9 into main Oct 8, 2026
3 checks passed
@luisguzman-adfa
luisguzman-adfa deleted the chore/K2GO-456-remove-biometrics branch October 8, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant