sensors: get the full list of sensors

Samsung uses a special OperationMode (5555).

Thanks to Pierre-Hugues HUSSON for the hint.

Change-Id: I037ff5bf5a1edd65b616480d1c43cef8e61ba999
Signed-off-by: Jesse Chan <jc@lineageos.org>
This commit is contained in:
Andreas Schneider 2020-04-24 16:57:08 +02:00 committed by Jesse Chan
parent 80c90e970e
commit b8a230d4d0

View file

@ -106,6 +106,9 @@ Sensors::Sensors()
}
}
/* Get us all sensors */
setOperationMode(static_cast<hardware::sensors::V1_0::OperationMode>(5555));
mInitCheck = OK;
}