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>
tirimbino
Andreas Schneider 4 years ago committed by Jesse Chan
parent 80c90e970e
commit b8a230d4d0
  1. 3
      hidl/sensors/Sensors.cpp

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

Loading…
Cancel
Save