denusklo opened a new pull request, #1950: URL: https://github.com/apache/cordova-android/pull/1950
### Platforms affected Android ### Motivation and Context `cordova-android` 12.0.1 introduced permission-handling code in `SystemWebChromeClient.java` that uses `List`, `ArrayList`, and `PackageManager`, but the corresponding import statements were not included. This causes a compilation failure for any project using `[email protected]`. ### Description Added 3 missing import statements to `SystemWebChromeClient.java`: ```java import java.util.ArrayList; import java.util.List; import android.content.pm.PackageManager; ``` ### Testing Built an Ionic 3 Android release with `[email protected]` — build previously failed with `cannot find symbol` errors for `List`, `ArrayList`, and `PackageManager`. After applying this fix, the build completes successfully. ### Checklist - [ ] I've run the tests to see all new and existing tests pass - [ ] I added automated test coverage as appropriate for this change - [x] Commit is prefixed with `(platform)` if this change only applies to one platform - [ ] If this Pull Request resolves an issue, I linked to the issue in the text above - [ ] I've updated the documentation if necessary -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
