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