diff --git a/aidl/vibrator/Android.bp b/aidl/vibrator/Android.bp index a346adf..f88a983 100644 --- a/aidl/vibrator/Android.bp +++ b/aidl/vibrator/Android.bp @@ -59,7 +59,6 @@ cc_library_shared { "android.hardware.vibrator-V1-ndk_platform", ], export_include_dirs: ["include"], - header_libs: ["qti_kernel_headers"], } cc_binary { diff --git a/aidl/vibrator/VibratorOffload.cpp b/aidl/vibrator/VibratorOffload.cpp index b9729b9..6922a9d 100644 --- a/aidl/vibrator/VibratorOffload.cpp +++ b/aidl/vibrator/VibratorOffload.cpp @@ -34,7 +34,6 @@ #include #include #include -#include #include #include #include @@ -53,6 +52,12 @@ namespace vibrator { #define UEVENT_MSG_LEN 1024 #define SLATE_EVENT "SLATE_EVENT=" #define SLATE_EVENT_STRING_LEN 12 //length of SLATE_EVENT +/* + * TODO Need to work on solution to get this from kernel header + * without effecting other kernel versions where this change + * goes in. + */ +#define SLATE_AFTER_POWER_UP 4 PatternOffload::PatternOffload() {