From 68fc0e70771bd954aa2f1b3d3a5b8a9a94c7e0bc Mon Sep 17 00:00:00 2001 From: Michael Spang Date: Tue, 8 Nov 2022 15:58:01 -0500 Subject: [PATCH] Turn on CHIP_CONFIG_ERROR_FORMAT_AS_STRING on Android (#23544) For some reason, only numeric errors are used on Android. This enables the string errors for more readable error messages. --- src/platform/android/CHIPPlatformConfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/android/CHIPPlatformConfig.h b/src/platform/android/CHIPPlatformConfig.h index 245d61b0589c9d..19ba3d113517ef 100644 --- a/src/platform/android/CHIPPlatformConfig.h +++ b/src/platform/android/CHIPPlatformConfig.h @@ -32,7 +32,7 @@ using CHIP_CONFIG_PERSISTED_STORAGE_KEY_TYPE = const char *; #define CHIP_CONFIG_LIFETIIME_PERSISTED_COUNTER_KEY "life-count" -#define CHIP_CONFIG_ERROR_FORMAT_AS_STRING 0 +#define CHIP_CONFIG_ERROR_FORMAT_AS_STRING 1 #define CHIP_CONFIG_ERROR_SOURCE 1 // ==================== Security Adaptations ====================