Limit LOG_TAG in header

Including LOG_TAG in a header prevents any files which uses
this header from defining a LOG_TAG.

Bug: 259162245
Change-Id: I847f4b4f8898aac373db2566c745d3e73404f58a
Merged-In: I847f4b4f8898aac373db2566c745d3e73404f58a
This commit is contained in:
Steven Moreland
2023-01-09 21:33:58 +00:00
parent 466f3c55a9
commit 9c8b6b21ff

View File

@@ -17,7 +17,10 @@
#ifndef HARDWARE_INTERFACES_CAMERA_PROVIDER_AIDL_VTS_CAMERA_AIDL_TEST_H_
#define HARDWARE_INTERFACES_CAMERA_PROVIDER_AIDL_VTS_CAMERA_AIDL_TEST_H_
// TODO: LOG_TAG should not be in header
#ifndef LOG_TAG
#define LOG_TAG "camera_aidl_hal_test"
#endif
#include <string>
#include <unordered_map>