diff options
author | Rahul Sabnis <rahulsabnis@google.com> | 2020-08-05 21:18:10 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-08-05 21:18:10 +0000 |
commit | 43e0dd59361f57ac0b56ff8fa2ef890b0c8337cf (patch) | |
tree | 270b2f7c85768a3fd9bb0ba67ab2534d245d7faa | |
parent | 85eac001da7378c3f745d3c3e0cce9e4c3a9b15b (diff) | |
parent | 3e7b35ee189fd0d93cb597a4528e45882f1d583f (diff) | |
download | libhardware-43e0dd59361f57ac0b56ff8fa2ef890b0c8337cf.tar.gz |
Update the signature of init function to include whether the device is am: 3e7b35ee18
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308134
Change-Id: I0a65a192cd4461d324e184cd14d0f4daf50afaea
-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 6e287e6d..bbf2fb27 100644 --- a/include/hardware/bluetooth.h +++ b/include/hardware/bluetooth.h @@ -469,8 +469,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); |