chore: sync upstream PR #8720 - fix(android): remove unchecked Java compilation warnings

RI
18h ago
+3-114

Merge Conflict Review Required

The sync of upstream PR #8720 from @Ajamuar encountered merge conflicts.

Original PR: https://github.com/ionic-team/capacitor/pull/8720

What happened

  • Git applied the upstream-preferred merge strategy
  • This PR requires CI and manual review before merging

Synced from upstream by Capacitor+ Bot


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Summary by CodeRabbit

  • Chores
    • Improved type clarity in Android permission and activity handling, with no change to user-visible behavior.