diff options
author | Rahul Sabnis <rahulsabnis@google.com> | 2020-08-05 22:39:37 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-08-05 22:39:37 +0000 |
commit | 3f8c5b4ec12aa120e0ab2a197707090433499c45 (patch) | |
tree | 54cf4cbf3d9017a4677e591c3718413bc6de8be4 | |
parent | 41139b5fc5d844e5de2dbb20ce3edf3a0fa581fa (diff) | |
parent | 1751a06b9f42ee93748d0a45318578d0c8db3898 (diff) | |
download | libhardware-3f8c5b4ec12aa120e0ab2a197707090433499c45.tar.gz |
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: Ic5a69de0a0ea62450afe1a26ead9587c7667b4a3
-rw-r--r-- | include/hardware/bluetooth.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hardware/bluetooth.h b/include/hardware/bluetooth.h index 40ccc604..3fe6aa86 100644 --- a/include/hardware/bluetooth.h +++ b/include/hardware/bluetooth.h @@ -454,8 +454,9 @@ typedef struct { /** * 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); |