diff options
author | Rahul Sabnis <rahulsabnis@google.com> | 2020-08-04 14:17:15 -0700 |
---|---|---|
committer | Rahul Sabnis <rahulsabnis@google.com> | 2020-08-04 21:23:34 +0000 |
commit | 3e7b35ee189fd0d93cb597a4528e45882f1d583f (patch) | |
tree | 25cec3ac8b2dfbac593376244b6d1b7ace54aafd | |
parent | fbeb4fc1397c0a193615c30c4ffc1c029b7ad69a (diff) | |
download | libhardware-3e7b35ee189fd0d93cb597a4528e45882f1d583f.tar.gz |
Update the signature of init function to include whether the device is
an ATV
Bug: 157038281
Test: Manual
Change-Id: I1685c4318c27e8dcca5f7a696fe9e1f8bf594b9d
-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); |