From 8aa200ef9c03436ead38fd40447557e782c430ee Mon Sep 17 00:00:00 2001 From: Abhishek Gadewar Date: Thu, 15 Aug 2024 15:09:10 -0700 Subject: [PATCH] Do not force verbose logs on for anything including ComposerCommandBuffer.h Summary: It looks like the verbose log debug flag was set during the introduction of this header and continued to be propagated forward. Since this define is done in a header, it is forcing verbose logs on for anything which includes the header. Test: See less logspam from components including this header Change-Id: I678ee3384a0a5b13c684a7e14c3358f70a7def30 Signed-off-by: Abhishek Gadewar --- .../composer-command-buffer/2.1/ComposerCommandBuffer.h | 3 +-- .../composer-command-buffer/2.2/ComposerCommandBuffer.h | 3 +-- .../composer-command-buffer/2.3/ComposerCommandBuffer.h | 3 +-- .../composer-command-buffer/2.4/ComposerCommandBuffer.h | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/graphics/composer/2.1/utils/command-buffer/include/composer-command-buffer/2.1/ComposerCommandBuffer.h b/graphics/composer/2.1/utils/command-buffer/include/composer-command-buffer/2.1/ComposerCommandBuffer.h index 6a4598727a..9ce6eed77b 100644 --- a/graphics/composer/2.1/utils/command-buffer/include/composer-command-buffer/2.1/ComposerCommandBuffer.h +++ b/graphics/composer/2.1/utils/command-buffer/include/composer-command-buffer/2.1/ComposerCommandBuffer.h @@ -21,8 +21,7 @@ #warn "ComposerCommandBuffer.h included without LOG_TAG" #endif -#undef LOG_NDEBUG -#define LOG_NDEBUG 0 +//#define LOG_NDEBUG 0 #include #include diff --git a/graphics/composer/2.2/utils/command-buffer/include/composer-command-buffer/2.2/ComposerCommandBuffer.h b/graphics/composer/2.2/utils/command-buffer/include/composer-command-buffer/2.2/ComposerCommandBuffer.h index 00f427ac89..cd4737403d 100644 --- a/graphics/composer/2.2/utils/command-buffer/include/composer-command-buffer/2.2/ComposerCommandBuffer.h +++ b/graphics/composer/2.2/utils/command-buffer/include/composer-command-buffer/2.2/ComposerCommandBuffer.h @@ -20,8 +20,7 @@ #warn "ComposerCommandBuffer.h included without LOG_TAG" #endif -#undef LOG_NDEBUG -#define LOG_NDEBUG 0 +//#define LOG_NDEBUG 0 #include #include diff --git a/graphics/composer/2.3/utils/command-buffer/include/composer-command-buffer/2.3/ComposerCommandBuffer.h b/graphics/composer/2.3/utils/command-buffer/include/composer-command-buffer/2.3/ComposerCommandBuffer.h index 5e9a2877f6..1a9276ccbd 100644 --- a/graphics/composer/2.3/utils/command-buffer/include/composer-command-buffer/2.3/ComposerCommandBuffer.h +++ b/graphics/composer/2.3/utils/command-buffer/include/composer-command-buffer/2.3/ComposerCommandBuffer.h @@ -20,8 +20,7 @@ #warn "ComposerCommandBuffer.h included without LOG_TAG" #endif -#undef LOG_NDEBUG -#define LOG_NDEBUG 0 +//#define LOG_NDEBUG 0 #include #include diff --git a/graphics/composer/2.4/utils/command-buffer/include/composer-command-buffer/2.4/ComposerCommandBuffer.h b/graphics/composer/2.4/utils/command-buffer/include/composer-command-buffer/2.4/ComposerCommandBuffer.h index eb35e5cb9e..e981da611f 100644 --- a/graphics/composer/2.4/utils/command-buffer/include/composer-command-buffer/2.4/ComposerCommandBuffer.h +++ b/graphics/composer/2.4/utils/command-buffer/include/composer-command-buffer/2.4/ComposerCommandBuffer.h @@ -20,8 +20,7 @@ #warn "ComposerCommandBuffer.h included without LOG_TAG" #endif -#undef LOG_NDEBUG -#define LOG_NDEBUG 0 +//#define LOG_NDEBUG 0 #include #include