summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRahul Sabnis <rahulsabnis@google.com>2020-08-04 14:17:15 -0700
committerAnis Assi <anisassi@google.com>2020-09-10 13:50:39 -0700
commit3db2003bb6b6fb16fc562f2221d066e9b6d4eb91 (patch)
tree25cec3ac8b2dfbac593376244b6d1b7ace54aafd
parente5cea87786cc98f5cf191b0c61c0b000d1ec790d (diff)
downloadlibhardware-oreo-security-release.tar.gz
Update the signature of init function to include whether the device isandroid-security-8.0.0_r54android-security-8.0.0_r53android-security-8.0.0_r52oreo-security-release
an ATV Bug: 157038281 Test: Manual Change-Id: I1685c4318c27e8dcca5f7a696fe9e1f8bf594b9d (cherry picked from commit 3e7b35ee189fd0d93cb597a4528e45882f1d583f)
-rw-r--r--include/hardware/bluetooth.h3
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);