Skip to content

Commit 1b57872

Browse files
xaionaro@dx.centerxaionaro@dx.center
authored andcommitted
fix: aidl2spec — don't emit direction: in for DirectionNone parameters
1 parent 32aa411 commit 1b57872

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/cmd/aidl2spec/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ func convertParam(
346346
}
347347

348348
switch p.Direction {
349-
case parser.DirectionIn, parser.DirectionNone:
349+
case parser.DirectionIn:
350350
ps.Direction = spec.DirectionIn
351351
case parser.DirectionOut:
352352
ps.Direction = spec.DirectionOut

0 commit comments

Comments
 (0)