From ce9541fb011438642c3b8f56e12f943eb36d2e3e Mon Sep 17 00:00:00 2001 From: pahearn73 Date: Mon, 5 Feb 2024 09:58:40 -0500 Subject: [PATCH] accessibility.onClosedCaptionsSettingsChanged: Fixed missing event when closedcaptions.setPreferredLanguages is called. (#414) --- .github/workflows/Build.yml | 2 +- core/sdk/src/api/storage_property.rs | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 018e13443..75a9eb980 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -4,7 +4,7 @@ on: push: branches: [ "main" ] pull_request: - branches: [ "main" ] + branches: [ "main", "1.2.0.rc" ] env: CARGO_TERM_COLOR: always diff --git a/core/sdk/src/api/storage_property.rs b/core/sdk/src/api/storage_property.rs index 69f5627de..c73e1dc36 100644 --- a/core/sdk/src/api/storage_property.rs +++ b/core/sdk/src/api/storage_property.rs @@ -423,7 +423,10 @@ const PROPERTY_PREFERRED_AUDIO_LANGUAGES: PropertyData = PropertyData { const PROPERTY_CC_PREFERRED_LANGUAGES: PropertyData = PropertyData { key: KEY_PREFERRED_AUDIO_LANGUAGES, namespace: NAMESPACE_CLOSED_CAPTIONS, - event_names: Some(&[EVENT_CC_PREFERRED_LANGUAGES]), + event_names: Some(&[ + EVENT_CC_PREFERRED_LANGUAGES, + EVENT_CLOSED_CAPTIONS_SETTINGS_CHANGED, + ]), }; #[derive(Debug)]