Commit c05ab81
authored
[quick_actions] Switch to Kotlin Pigeon (#11507)
Replaces the Java Pigeon generator with the Kotlin Pigeon generator, and adjusts the project accordingly:
- Adds Kotlin build setings to Gradle.
- Updates API signatures for Kotlin/Java differences.
- Adds generic Java/Kotlin compat shim to create Result objects from Java, since those haven't been added to the Pigeon generator yet.
Part of flutter/flutter#158287
## Pre-Review Checklist
[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.1 parent 9b4847f commit c05ab81
10 files changed
Lines changed: 603 additions & 523 deletions
File tree
- packages/quick_actions/quick_actions_android
- android
- src/main
- java/io/flutter/plugins/quickactions
- kotlin/io/flutter/plugins/quickactions
- lib/src
- pigeons
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| |||
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
24 | 35 | | |
25 | 36 | | |
26 | 37 | | |
| |||
0 commit comments