Upgrade vibrator to HAL 1.2

Bug: 64184692
Test: build, flash and play with device
Change-Id: I44d82371e6a6d7dc7e05e740aa5f2fdb5c3f8df6
This commit is contained in:
Michael Wright
2018-01-29 14:54:37 +00:00
committed by Steven Moreland
parent 87b0264022
commit 3e8e659997
10 changed files with 57 additions and 52 deletions

View File

@@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#define LOG_TAG "android.hardware.vibrator@1.1-service.wahoo"
#define LOG_TAG "android.hardware.vibrator@1.2-service.wahoo"
#include <android/hardware/vibrator/1.1/IVibrator.h>
#include <android/hardware/vibrator/1.2/IVibrator.h>
#include <hidl/HidlSupport.h>
#include <hidl/HidlTransportSupport.h>
#include <utils/Errors.h>
@@ -25,8 +25,8 @@
using android::hardware::configureRpcThreadpool;
using android::hardware::joinRpcThreadpool;
using android::hardware::vibrator::V1_1::IVibrator;
using android::hardware::vibrator::V1_1::implementation::Vibrator;
using android::hardware::vibrator::V1_2::IVibrator;
using android::hardware::vibrator::V1_2::implementation::Vibrator;
using namespace android;
// Refer to Documentation/ABI/testing/sysfs-class-led-driver-drv2624