Skip to content

Commit 85c6297

Browse files
Fix Darwin availability annotations.
1 parent 9ebdaf4 commit 85c6297

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

src/darwin/Framework/CHIP/templates/availability.yaml

+8-2
Original file line numberDiff line numberDiff line change
@@ -3247,7 +3247,10 @@
32473247
TargetNavigator:
32483248
- TargetNavigatorStatusEnum
32493249
MediaPlayback:
3250-
- MediaPlaybackStatusEnum
3250+
# StatusEnum was originally named MediaPlaybackStatusEnum, but we
3251+
# generate the same API for the names with/without the cluster
3252+
# name at the beginning, so the name can just change here.
3253+
- StatusEnum
32513254
- PlaybackStateEnum
32523255
MediaInput:
32533256
- InputTypeEnum
@@ -3997,7 +4000,10 @@
39974000
- TargetNotFound
39984001
- NotAllowed
39994002
MediaPlayback:
4000-
MediaPlaybackStatusEnum:
4003+
# StatusEnum was originally named MediaPlaybackStatusEnum, but we
4004+
# generate the same API for the names with/without the cluster
4005+
# name at the beginning, so the name can just change here.
4006+
StatusEnum:
40014007
- Success
40024008
- InvalidStateForCommand
40034009
- NotAllowed

src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)