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