Merge "Fix log message enable -> disable"

This commit is contained in:
Treehugger Robot 2019-05-09 22:07:07 +00:00 committed by Gerrit Code Review
commit 9cfe96f811

View file

@ -94,7 +94,7 @@ Return<::android::hardware::atrace::V1_0::Status> AtraceDevice::disableAllCatego
for (auto& c : kTracingMap) {
for (auto& p : c.second.paths) {
if (!android::base::WriteStringToFile("0", p.first)) {
LOG(ERROR) << "Failed to enable tracing on: " << p.first;
LOG(ERROR) << "Failed to disable tracing on: " << p.first;
if (p.second) {
ret = Status::ERROR_TRACING_POINT;
}