Skip to content

Commit

Permalink
add app-originating dictation support to protocol flags
Browse files Browse the repository at this point in the history
  • Loading branch information
crc-32 committed Oct 21, 2024
1 parent a7cb7e2 commit 4146133
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion android/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ kotlin = "2.0.20-Beta2"
kotlinxDatetime = "0.6.0"
kotlinxSerializationJson = "1.7.1"
ksp = "2.0.20-Beta2-1.0.23"
libpebblecommonVersion = "0.1.25"
libpebblecommonVersion = "0.1.26"
errorproneVersion = "2.26.1"
rruleVersion = "1.0.3"
spotbugsVersion = "4.8.6"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,15 @@ class SystemHandler(
4u,
2u,
ProtocolCapsFlag.makeFlags(
listOf(
ProtocolCapsFlag.Supports8kAppMessage,
ProtocolCapsFlag.SupportsExtendedMusicProtocol,
ProtocolCapsFlag.SupportsTwoWayDismissal,
ProtocolCapsFlag.SupportsAppRunStateProtocol
)
buildList {
add(ProtocolCapsFlag.Supports8kAppMessage)
add(ProtocolCapsFlag.SupportsExtendedMusicProtocol)
add(ProtocolCapsFlag.SupportsTwoWayDismissal)
add(ProtocolCapsFlag.SupportsAppRunStateProtocol)
if (platformContext.osType == PhoneAppVersion.OSType.Android) {
add(ProtocolCapsFlag.SupportsAppDictation)
}
}
)
)
}
Expand Down

0 comments on commit 4146133

Please sign in to comment.