gps: Add libprocessgroup dependency
Because set_sched_policy is moved into libprocessgroup an additional dependency is required for its users. Exempt-From-Owner-Approval: janitorial Bug: 111307099 Test: builds, boots Change-Id: Ie28a9feb5d4342011ca5baac8a62287aca11af3d Signed-off-by: Suren Baghdasaryan <surenb@google.com> Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
This commit is contained in:
parent
4ef518cb3d
commit
90ff7946f6
2 changed files with 3 additions and 2 deletions
|
@ -7,7 +7,8 @@ include $(CLEAR_VARS)
|
|||
LOCAL_SHARED_LIBRARIES := \
|
||||
libutils \
|
||||
libcutils \
|
||||
liblog
|
||||
liblog \
|
||||
libprocessgroup
|
||||
|
||||
LOCAL_SRC_FILES += \
|
||||
loc_log.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() {
|
||||
|
|
Loading…
Reference in a new issue