From 247c6468242308f853f778c9af4ffa0ff63053ef Mon Sep 17 00:00:00 2001 From: Rahul Sabnis Date: Tue, 4 Aug 2020 14:17:15 -0700 Subject: Update the signature of init function to include whether the device is an ATV Bug: 157038281 Test: Manual Change-Id: I1685c4318c27e8dcca5f7a696fe9e1f8bf594b9d --- include/hardware/bluetooth.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3 From 3e7b35ee189fd0d93cb597a4528e45882f1d583f Mon Sep 17 00:00:00 2001 From: Rahul Sabnis Date: Tue, 4 Aug 2020 14:17:15 -0700 Subject: Update the signature of init function to include whether the device is an ATV Bug: 157038281 Test: Manual Change-Id: I1685c4318c27e8dcca5f7a696fe9e1f8bf594b9d --- include/hardware/bluetooth.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3