diff options
author | Rahul Sabnis <rahulsabnis@google.com> | 2020-08-05 21:17:00 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-08-05 21:17:00 +0000 |
commit | 14511f6722138420237fd1268d79d28bdd6d19ed (patch) | |
tree | 8a0cdc9724674e6eedd4ba73ae2f76ff0d58fdc4 | |
parent | 57badc4ae224413e20bdce3ce57bcd50534bc0d3 (diff) | |
parent | 247c6468242308f853f778c9af4ffa0ff63053ef (diff) | |
download | libhardware-14511f6722138420237fd1268d79d28bdd6d19ed.tar.gz |
Update the signature of init function to include whether the device is am: 247c646824
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308133
Change-Id: I787e5077a29653ecb551f4176fcfa0b2a054f7a5
-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); |