Skip to content

Commit 7f6dd32

Browse files
Fix: Disable LocalizationConfiguration and TimeFormatLocalization clusters for tv-casting-app (project-chip#43232)
Fixes Android TV Casting app crash (regression from PR project-chip#42565, Jan 9, 2026). PR project-chip#42565 added VerifyOrDie checks assuming all platforms have DeviceInfoProvider. Android lacks this implementation, causing SIGABRT on launch. Solution: Disable these 2 clusters in tv-casting-app.zap (shared by iOS, Android, Linux). Clusters require DeviceInfoProvider and are optional for casting functionality.
1 parent e427b54 commit 7f6dd32

2 files changed

Lines changed: 2 additions & 76 deletions

File tree

examples/tv-casting-app/tv-casting-common/tv-casting-app.matter

Lines changed: 0 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -993,65 +993,6 @@ cluster BasicInformation = 40 {
993993
command MfgSpecificPing(): DefaultSuccess = 0;
994994
}
995995

996-
/** Nodes should be expected to be deployed to any and all regions of the world. These global regions
997-
may have differing common languages, units of measurements, and numerical formatting
998-
standards. As such, Nodes that visually or audibly convey information need a mechanism by which
999-
they can be configured to use a user’s preferred language, units, etc */
1000-
cluster LocalizationConfiguration = 43 {
1001-
revision 1;
1002-
1003-
attribute access(write: manage) char_string<35> activeLocale = 0;
1004-
readonly attribute char_string supportedLocales[] = 1;
1005-
readonly attribute command_id generatedCommandList[] = 65528;
1006-
readonly attribute command_id acceptedCommandList[] = 65529;
1007-
readonly attribute attrib_id attributeList[] = 65531;
1008-
readonly attribute bitmap32 featureMap = 65532;
1009-
readonly attribute int16u clusterRevision = 65533;
1010-
}
1011-
1012-
/** Nodes should be expected to be deployed to any and all regions of the world. These global regions
1013-
may have differing preferences for how dates and times are conveyed. As such, Nodes that visually
1014-
or audibly convey time information need a mechanism by which they can be configured to use a
1015-
user’s preferred format. */
1016-
cluster TimeFormatLocalization = 44 {
1017-
revision 1;
1018-
1019-
enum CalendarTypeEnum : enum8 {
1020-
kBuddhist = 0;
1021-
kChinese = 1;
1022-
kCoptic = 2;
1023-
kEthiopian = 3;
1024-
kGregorian = 4;
1025-
kHebrew = 5;
1026-
kIndian = 6;
1027-
kIslamic = 7;
1028-
kJapanese = 8;
1029-
kKorean = 9;
1030-
kPersian = 10;
1031-
kTaiwanese = 11;
1032-
kUseActiveLocale = 255;
1033-
}
1034-
1035-
enum HourFormatEnum : enum8 {
1036-
k12hr = 0;
1037-
k24hr = 1;
1038-
kUseActiveLocale = 255;
1039-
}
1040-
1041-
bitmap Feature : bitmap32 {
1042-
kCalendarFormat = 0x1;
1043-
}
1044-
1045-
attribute access(write: manage) HourFormatEnum hourFormat = 0;
1046-
attribute access(write: manage) optional CalendarTypeEnum activeCalendarType = 1;
1047-
readonly attribute optional CalendarTypeEnum supportedCalendarTypes[] = 2;
1048-
readonly attribute command_id generatedCommandList[] = 65528;
1049-
readonly attribute command_id acceptedCommandList[] = 65529;
1050-
readonly attribute attrib_id attributeList[] = 65531;
1051-
readonly attribute bitmap32 featureMap = 65532;
1052-
readonly attribute int16u clusterRevision = 65533;
1053-
}
1054-
1055996
/** Nodes should be expected to be deployed to any and all regions of the world. These global regions
1056997
may have differing preferences for the units in which values are conveyed in communication to a
1057998
user. As such, Nodes that visually or audibly convey measurable values to the user need a
@@ -3208,21 +3149,6 @@ endpoint 0 {
32083149
callback attribute clusterRevision;
32093150
}
32103151

3211-
server cluster LocalizationConfiguration {
3212-
ram attribute activeLocale default = "en-US";
3213-
callback attribute supportedLocales;
3214-
callback attribute featureMap default = 0;
3215-
callback attribute clusterRevision;
3216-
}
3217-
3218-
server cluster TimeFormatLocalization {
3219-
persist attribute hourFormat default = 0;
3220-
persist attribute activeCalendarType default = 0;
3221-
callback attribute supportedCalendarTypes;
3222-
ram attribute featureMap default = 0;
3223-
callback attribute clusterRevision;
3224-
}
3225-
32263152
server cluster UnitLocalization {
32273153
callback attribute temperatureUnit;
32283154
ram attribute featureMap default = 0x1;

examples/tv-casting-app/tv-casting-common/tv-casting-app.zap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@
804804
"mfgCode": null,
805805
"define": "LOCALIZATION_CONFIGURATION_CLUSTER",
806806
"side": "server",
807-
"enabled": 1,
807+
"enabled": 0,
808808
"attributes": [
809809
{
810810
"name": "ActiveLocale",
@@ -878,7 +878,7 @@
878878
"mfgCode": null,
879879
"define": "TIME_FORMAT_LOCALIZATION_CLUSTER",
880880
"side": "server",
881-
"enabled": 1,
881+
"enabled": 0,
882882
"attributes": [
883883
{
884884
"name": "HourFormat",

0 commit comments

Comments
 (0)