GitHub PushEvent at 2014-05-30 05:58:25
Repository: android-hardware_legacy
Actor: ramsudharsan
Payload: {"shas":[["79ac06f2f86c6875b7ebdcbe812d5c08de7d9c93","93dfe3152c02fd80242a07b5a136e4f45e96864a@gmail.com","hardware_legacy: allow alternative vibrator implementations\n\nThe native vibrator code in libhardware_legacy assumes the vibrator\r\nis always controlled by inputting timers into sysfs (at\r\n/sys/class/timed_output/vibrator/enable). This isn't necessarily true,\r\nthere's an upcoming device which has the vibrator controlled by ioctl()\r\ncalls.\r\n\r\nThis patch lets the device configuration specify an alternative\t\r\nvibrator implementation throught the variable BOARD_HAS_VIBRATOR_IMPLEMENTATION\t\r\n\r\nThat variable should point to a sourcefile that implements the vibrator\r\n\"int sendit(timeout_ms)\" function, like this:\r\n\r\nBOARD_HAS_VIBRATOR_IMPLEMENTATION := ../../device/vendor/model/vibrator.c","Ramsudharsan",true]],"size":1,"ref":"refs/heads/patch-2","head":"79ac06f2f86c6875b7ebdcbe812d5c08de7d9c93"}