Remove reference to hard-coded cpuctl path for bg
As part of scheduling policy cleanup, remove/isolate references to the
scheduling policy files and APIs.
In this case, logwrap is not used currently due to bug 5144246, and even
if it were the "background" parameter was 0.
Change-Id: Ibf7fa2617a0e485c9868b22b378636728d16622a
diff --git a/BandwidthController.cpp b/BandwidthController.cpp
index b91a7c6..fa94d30 100644
--- a/BandwidthController.cpp
+++ b/BandwidthController.cpp
@@ -41,7 +41,7 @@
#include <cutils/log.h>
#include <cutils/properties.h>
-extern "C" int logwrap(int argc, const char **argv, int background);
+extern "C" int logwrap(int argc, const char **argv);
extern "C" int system_nosh(const char *command);
#include "BandwidthController.h"
@@ -204,7 +204,7 @@
}
argv[argc] = NULL;
- res = logwrap(argc, argv, 0);
+ res = logwrap(argc, argv);
}
if (res) {
ALOGE("runIptablesCmd(): failed %s res=%d", fullCmd.c_str(), res);