mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-11-06 21:55:41 +00:00
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:
parent
80c90e970e
commit
b8a230d4d0
1 changed files with 3 additions and 0 deletions
|
@ -106,6 +106,9 @@ Sensors::Sensors()
|
|||
}
|
||||
}
|
||||
|
||||
/* Get us all sensors */
|
||||
setOperationMode(static_cast<hardware::sensors::V1_0::OperationMode>(5555));
|
||||
|
||||
mInitCheck = OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue