Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

hardware-libsensors: Commit

hardware/libsensors


Commit MetaInfo

Révision54f2c9bbe348db21f724ef6112f213f7df9ba2a0 (tree)
l'heure2019-07-02 13:03:18
AuteurChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Message de Log

Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

Change Summary

Modification

--- a/kbdsensor.cpp
+++ b/kbdsensor.cpp
@@ -48,6 +48,7 @@ template <typename T> struct SensorFd : T {
4848
4949 template <typename T> SensorFd<T>::SensorFd(const struct hw_module_t *module)
5050 {
51+ memset(this, 0, sizeof(*this));
5152 this->common.tag = HARDWARE_DEVICE_TAG;
5253 this->common.version = SENSORS_DEVICE_API_VERSION_1_3;
5354 this->common.module = const_cast<struct hw_module_t *>(module);
Afficher sur ancien navigateur de dépôt.