diff options
author | Rahul Sabnis <rahulsabnis@google.com> | 2020-08-04 14:17:15 -0700 |
---|---|---|
committer | Rahul Sabnis <rahulsabnis@google.com> | 2020-08-04 14:17:15 -0700 |
commit | 247c6468242308f853f778c9af4ffa0ff63053ef (patch) | |
tree | bdd1cd40d69bff9c5ddb9cc2e86e3e7ed8c5a74e | |
parent | f5d56edc2715efdd0d15a92d5cdd6c1daa7e85e6 (diff) | |
download | libhardware-247c6468242308f853f778c9af4ffa0ff63053ef.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 9fd91cb2..14c30677 100644 --- a/include/hardware/bluetooth.h +++ b/include/hardware/bluetooth.h @@ -466,8 +466,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); |