commit | 10e168c2fa558e80ec57476becb19f296851c42e | [log] [tgz] |
---|---|---|
author | Rahul Sabnis <rahulsabnis@google.com> | Wed Aug 05 23:20:43 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Aug 05 23:20:43 2020 +0000 |
tree | 57f3c1b03e807249b61fb3b6d69e18776e8306f0 | |
parent | f1943c88832fa3cb58157b3e5e7c8a46799b3622 [diff] | |
parent | 4be5facf6dd67582039b7a4cf36327b32351232a [diff] |
Update the signature of init function to include whether the device is am: 247c646824 am: 14511f6722 am: 99d5aba8ec am: 28ce79352a am: 1751a06b9f am: db07ea5953 am: 4be5facf6d Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/libhardware/+/12308133 Change-Id: Ia61eda1026ba84a3265f3486d2a020de2d95da22
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);