Add a reminder that we need to track a change in master.
Change-Id: I99a98063871d99803ea95b121ddb286b5d05f048
diff --git a/src/native/dalvik_system_Zygote.cc b/src/native/dalvik_system_Zygote.cc
index ac4c3c8..b4f69fb 100644
--- a/src/native/dalvik_system_Zygote.cc
+++ b/src/native/dalvik_system_Zygote.cc
@@ -22,6 +22,7 @@
#include <sys/wait.h>
#include <unistd.h>
+#include "cutils/sched_policy.h"
#include "debugger.h"
#include "jni_internal.h"
#include "JniConstants.h"
@@ -317,6 +318,16 @@
SetCapabilities(permittedCapabilities, effectiveCapabilities);
+#if 1
+ UNIMPLEMENTED(WARNING) << "enable this code when cutils/sched_policy.h has SP_DEFAULT";
+#else
+ err = set_sched_policy(0, SP_DEFAULT);
+ if (err < 0) {
+ errno = -err;
+ PLOG(FATAL) << "set_sched_policy(0, SP_DEFAULT) failed";
+ }
+#endif
+
// Our system thread ID, etc, has changed so reset Thread state.
self->InitAfterFork();