commit | db07ea59534d7fa4d0605c2f5003c6ad0176fafb | [log] [tgz] |
---|---|---|
author | Rahul Sabnis <rahulsabnis@google.com> | Wed Aug 05 22:38:24 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Aug 05 22:38:24 2020 +0000 |
tree | 54cf4cbf3d9017a4677e591c3718413bc6de8be4 | |
parent | 32813ef904b26ec6a9cfcc70f4a1cdbf39d11551 [diff] | |
parent | 1751a06b9f42ee93748d0a45318578d0c8db3898 [diff] |
Update the signature of init function to include whether the device is am: 247c646824 am: 14511f6722 am: 99d5aba8ec am: 28ce79352a am: 1751a06b9f Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308133 Change-Id: I841882d2cbbc6ec8f6a1d2b24f9c6d7cd44090ec
diff --git a/include/hardware/bluetooth.h b/include/hardware/bluetooth.h index 40ccc60..3fe6aa8 100644 --- a/include/hardware/bluetooth.h +++ b/include/hardware/bluetooth.h
@@ -454,8 +454,9 @@ /** * 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);