diff --git a/gps/utils/Android.mk b/gps/utils/Android.mk index 1e907d5..98c20f4 100755 --- a/gps/utils/Android.mk +++ b/gps/utils/Android.mk @@ -7,7 +7,8 @@ include $(CLEAR_VARS) LOCAL_SHARED_LIBRARIES := \ libutils \ libcutils \ - liblog + liblog \ + libprocessgroup LOCAL_SRC_FILES += \ loc_log.cpp \ diff --git a/gps/utils/MsgTask.cpp b/gps/utils/MsgTask.cpp index f98b968..eaead5c 100755 --- a/gps/utils/MsgTask.cpp +++ b/gps/utils/MsgTask.cpp @@ -83,7 +83,7 @@ void MsgTask::sendMsg(const LocMsg* msg) const { void MsgTask::prerun() { // make sure we do not run in background scheduling group -// set_sched_policy(gettid(), SP_FOREGROUND); + set_sched_policy(gettid(), SP_FOREGROUND); } bool MsgTask::run() {