commit | 0be32e9f2f0fb0504596ab8e18b42522b0b28170 | [log] [tgz] |
---|---|---|
author | Rahul Sabnis <rahulsabnis@google.com> | Wed Aug 05 22:38:40 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Aug 05 22:38:40 2020 +0000 |
tree | 57f3c1b03e807249b61fb3b6d69e18776e8306f0 | |
parent | 0d57727f5a9de78ee5b07cab20a054231f54e1ce [diff] | |
parent | 1751a06b9f42ee93748d0a45318578d0c8db3898 [diff] |
Update the signature of init function to include whether the device is am: 247c646824 am: 14511f6722 am: 99d5aba8ec am: 28ce79352a am: 1751a06b9f Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308133 Change-Id: I94cdd0813c12bf38918f75bcf0ce5809b2fc5e06
diff --git a/include/hardware/bluetooth.h b/include/hardware/bluetooth.h index 40ccc60..3fe6aa8 100644 --- a/include/hardware/bluetooth.h +++ b/include/hardware/bluetooth.h
@@ -454,8 +454,9 @@ /** * Opens the interface and provides the callback routines * to the implemenation of this interface. + * The |is_atv| flag indicates whether the local device is an Android TV */ - int (*init)(bt_callbacks_t* callbacks ); + int (*init)(bt_callbacks_t* callbacks, bool is_atv); /** Enable Bluetooth. */ int (*enable)(bool guest_mode);