diff options
author | Rahul Sabnis <rahulsabnis@google.com> | 2020-08-04 14:17:15 -0700 |
---|---|---|
committer | Anis Assi <anisassi@google.com> | 2020-09-10 13:49:42 -0700 |
commit | d032b94b107012c80c9654d8465007fc2228bbc4 (patch) | |
tree | bdd1cd40d69bff9c5ddb9cc2e86e3e7ed8c5a74e | |
parent | 99f49b759d52a9f084e571357811a01ef041348f (diff) | |
download | libhardware-d032b94b107012c80c9654d8465007fc2228bbc4.tar.gz |
Update the signature of init function to include whether the device isandroid-security-8.1.0_r93android-security-8.1.0_r92android-security-8.1.0_r91android-security-8.1.0_r90android-security-8.1.0_r89android-security-8.1.0_r88android-security-8.1.0_r87android-security-8.1.0_r86android-security-8.1.0_r85android-security-8.1.0_r84android-security-8.1.0_r83android-security-8.1.0_r82oreo-mr1-security-release
an ATV
Bug: 157038281
Test: Manual
Change-Id: I1685c4318c27e8dcca5f7a696fe9e1f8bf594b9d
(cherry picked from commit 247c6468242308f853f778c9af4ffa0ff63053ef)
-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); |