Revert "hwc: Set ioprio for vsync thread"
This reverts commit 5eeb1e2f3701e7fae202984e1200ee6f466fda72.
The original commit requires I335816304573149c1d96c5e6ea804a49e7695996
in system/core that comes from Lineage and is not present in AOSP or
CAF.
FP-Id: ST-890
Change-Id: Ice803638d5c725863dbe7f95a971c76a2d7de80d
diff --git a/libhwcomposer/hwc_vsync.cpp b/libhwcomposer/hwc_vsync.cpp
index 62868d0..106f4f0 100644
--- a/libhwcomposer/hwc_vsync.cpp
+++ b/libhwcomposer/hwc_vsync.cpp
@@ -19,7 +19,6 @@
*/
#include <cutils/properties.h>
-#include <cutils/iosched_policy.h>
#include <utils/Log.h>
#include <fcntl.h>
#include <sys/ioctl.h>
@@ -96,7 +95,6 @@
prctl(PR_SET_NAME, (unsigned long) &thread_name, 0, 0, 0);
setpriority(PRIO_PROCESS, 0, HAL_PRIORITY_URGENT_DISPLAY +
android::PRIORITY_MORE_FAVORABLE);
- android_set_rt_ioprio(0, 1);
char vdata[MAX_DATA];
//Number of physical displays