summaryrefslogtreecommitdiff
path: root/libs/graphicsenv/GraphicsEnv.cpp
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2019-02-13 00:17:06 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2019-02-13 00:17:06 +0000
commit1b85addbaa2aee2c90d5036a7a16d0258b4613bc (patch)
tree8b27143b92c378d8b7902343b850bda2fe581040 /libs/graphicsenv/GraphicsEnv.cpp
parent8bd24e969e831a5c86458d33f10eb8981c850842 (diff)
parent210bb7ea89562242ee6b0e0b5a0258d26d3264c0 (diff)
Merge "Use const reference in setGpuStats() API"
Diffstat (limited to 'libs/graphicsenv/GraphicsEnv.cpp')
-rw-r--r--libs/graphicsenv/GraphicsEnv.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/graphicsenv/GraphicsEnv.cpp b/libs/graphicsenv/GraphicsEnv.cpp
index 3b42f8093b..75fe2d31df 100644
--- a/libs/graphicsenv/GraphicsEnv.cpp
+++ b/libs/graphicsenv/GraphicsEnv.cpp
@@ -156,9 +156,9 @@ void GraphicsEnv::setDriverPath(const std::string path) {
mDriverPath = path;
}
-void GraphicsEnv::setGpuStats(const std::string driverPackageName,
- const std::string driverVersionName, const uint64_t driverVersionCode,
- const std::string appPackageName) {
+void GraphicsEnv::setGpuStats(const std::string& driverPackageName,
+ const std::string& driverVersionName,
+ const uint64_t driverVersionCode, const std::string& appPackageName) {
ATRACE_CALL();
ALOGV("setGpuStats:\n"