Use modern c++ code style for incidentd.
This cl does not contain code logic changes.
Bug: 77333635
Test: manual and incidentd_test
Change-Id: Iea0a402b1051defd45159ca267e6dd705f9ffa49
diff --git a/cmds/incidentd/src/PrivacyBuffer.h b/cmds/incidentd/src/PrivacyBuffer.h
index cd29d8b..eac3862 100644
--- a/cmds/incidentd/src/PrivacyBuffer.h
+++ b/cmds/incidentd/src/PrivacyBuffer.h
@@ -25,7 +25,10 @@
#include <stdint.h>
#include <utils/Errors.h>
-using namespace android;
+namespace android {
+namespace os {
+namespace incidentd {
+
using namespace android::util;
/**
@@ -69,4 +72,8 @@
void writeFieldOrSkip(uint32_t fieldTag, bool skip);
};
+} // namespace incidentd
+} // namespace os
+} // namespace android
+
#endif // PRIVACY_BUFFER_H
\ No newline at end of file