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

Commit d53d7a12 authored by Zim's avatar Zim Committed by Zimuzo Ezeozue
Browse files

#undef ATRACE_TAG to fix compile error

aidl tag tracing was enabled by default for cpp backends:
aosp/2190022. This defines ATRACE_TAG in some of the include files.

To fix compile error '-Wmacro-redefined', #undef ATRACE_TAG and redefine

Test: m
Bug: 161393989
Change-Id: Ib12e375ec29151d25474cca147dd4d21d127ee84
parent 1bd824f9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@
#include "client/AudioStreamInternalCapture.h"
#include "utility/AudioClock.h"

#undef ATRACE_TAG
#define ATRACE_TAG ATRACE_TAG_AUDIO
#include <utils/Trace.h>