Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8aa200ef authored by Abhishek Gadewar's avatar Abhishek Gadewar
Browse files

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: default avatarAbhishek Gadewar <abhishekgadewar@meta.com>
parent 0aaa3985
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -21,8 +21,7 @@
#warn "ComposerCommandBuffer.h included without LOG_TAG"
#endif

#undef LOG_NDEBUG
#define LOG_NDEBUG 0
//#define LOG_NDEBUG 0

#include <algorithm>
#include <limits>
+1 −2
Original line number Diff line number Diff line
@@ -20,8 +20,7 @@
#warn "ComposerCommandBuffer.h included without LOG_TAG"
#endif

#undef LOG_NDEBUG
#define LOG_NDEBUG 0
//#define LOG_NDEBUG 0

#include <algorithm>
#include <limits>
+1 −2
Original line number Diff line number Diff line
@@ -20,8 +20,7 @@
#warn "ComposerCommandBuffer.h included without LOG_TAG"
#endif

#undef LOG_NDEBUG
#define LOG_NDEBUG 0
//#define LOG_NDEBUG 0

#include <android/hardware/graphics/composer/2.3/IComposer.h>
#include <android/hardware/graphics/composer/2.3/IComposerClient.h>
+1 −2
Original line number Diff line number Diff line
@@ -20,8 +20,7 @@
#warn "ComposerCommandBuffer.h included without LOG_TAG"
#endif

#undef LOG_NDEBUG
#define LOG_NDEBUG 0
//#define LOG_NDEBUG 0

#include <android/hardware/graphics/composer/2.4/IComposer.h>
#include <android/hardware/graphics/composer/2.4/IComposerClient.h>