Skip to content

Commit d868584

Browse files
authored
Show path to auto-generate AIDL code on slide (#2417)
This updates the surrounding text to bring it in line with the other slides.
1 parent 45bb2de commit d868584

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/android/aidl/example-service/service-bindings.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Generated Service API
22

3-
Binder generates a trait corresponding to the interface definition. trait to
4-
talk to the service.
3+
Binder generates a trait for each interface definition.
54

65
_birthday_service/aidl/com/example/birthdayservice/IBirthdayService.aidl_:
76

@@ -10,7 +9,9 @@ _birthday_service/aidl/com/example/birthdayservice/IBirthdayService.aidl_:
109
}
1110
```
1211

13-
_Generated trait_:
12+
_out/soong/.intermediates/.../birthdayservice/IBirthdayService.rs_:
13+
14+
<!-- The example below is a cleaned up and simplified version of the real code. -->
1415

1516
```rust,ignore
1617
trait IBirthdayService {
@@ -23,8 +24,6 @@ trait to talk to the service.
2324

2425
<details>
2526

26-
- The generated bindings can be found at
27-
`out/soong/.intermediates/<path to module>/`.
2827
- Point out how the generated function signature, specifically the argument and
2928
return types, correspond the interface definition.
3029
- `String` for an argument results in a different Rust type than `String` as a

0 commit comments

Comments
 (0)