mirror of
https://github.com/Evolution-X-Devices/device_motorola_rtwo
synced 2026-01-27 13:35:15 +00:00
eqs: sensors: Create input event polling one shot sensor
* for double tap to wake in screen off and in aod Co-authored-by: SGCMarkus <markusornik@gmail.com> Change-Id: Ie78d7729201836bacd65a57f76e22adb61159192
This commit is contained in:
committed by
SGCMarkus
parent
e4b7f97125
commit
19f1c1d6f0
@@ -32,7 +32,9 @@ namespace implementation {
|
||||
using ::android::hardware::Void;
|
||||
using ::android::hardware::sensors::V2_0::implementation::ScopedWakelock;
|
||||
|
||||
SensorsSubHal::SensorsSubHal() : mCallback(nullptr), mNextHandle(1) {}
|
||||
SensorsSubHal::SensorsSubHal() : mCallback(nullptr), mNextHandle(1) {
|
||||
AddSensor<InputEventDT2WSensor>();
|
||||
}
|
||||
|
||||
Return<void> SensorsSubHal::getSensorsList_2_1(ISensors::getSensorsList_2_1_cb _hidl_cb) {
|
||||
std::vector<SensorInfo> sensors;
|
||||
|
||||
Reference in New Issue
Block a user