DO NOT MERGE: Revert "Revert "hal: Add libprocessgroup dependency to set_sched_policy users""
This reverts commit e9a3c631e23b3fea8c91d37fa4f83474d7423cb0.
Reason for revert: AOSP is fixed with new vendor image
Change-Id: I7671e57f1a4fb93bc29599727cbbcc7d7f7b233b
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
diff --git a/hal/Android.mk b/hal/Android.mk
index 5a9daf5..92a0334 100644
--- a/hal/Android.mk
+++ b/hal/Android.mk
@@ -103,6 +103,7 @@
libaudioutils \
liblog \
libcutils \
+ libprocessgroup \
libtinyalsa \
libtinycompress \
libaudioroute \
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index 8e04bf8..4bff28c 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -40,10 +40,10 @@
#include <cutils/str_parms.h>
#include <cutils/properties.h>
#include <cutils/atomic.h>
-#include <cutils/sched_policy.h>
#include <hardware/audio_effect.h>
#include <hardware/audio_alsaops.h>
+#include <processgroup/sched_policy.h>
#include <system/thread_defs.h>
#include <tinyalsa/asoundlib.h>
#include <audio_effects/effect_aec.h>