M7350/oe-core/meta-msm/recipes/camera-hal/files/dlog-replace-utils-patch.txt
2024-09-09 08:57:42 +00:00

43 lines
1.2 KiB
Plaintext

diff --git a/include/utils/Vector.h b/include/utils/Vector.h
index ec851bd..ba4fc7f 100644
--- a/include/utils/Vector.h
+++ b/include/utils/Vector.h
@@ -1,4 +1,23 @@
/*
+Copyright (c) 2014, The Linux Foundation. All rights reserved.
+Not a Contribution.
+
+Copyright (C) 2005 The Android Open Source Project
+
+Licensed under the Apache License, Version 2.0 (the "License"); you
+may not use this file except in compliance with the License. You may
+obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+implied. See the License for the specific language governing
+permissions and limitations under the License
+*/
+
+/*
* Copyright (C) 2005 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -21,7 +40,12 @@
#include <stdint.h>
#include <sys/types.h>
-#include <utils/Log.h>
+#if defined(USE_DLOG)
+ #include <dlog/dlog.h>
+#else
+ #include <utils/Log.h>
+#endif
+
#include <utils/VectorImpl.h>
#include <utils/TypeHelpers.h>