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
This commit is contained in:
commit
db07ea5953
1 changed files with 2 additions and 1 deletions
|
@ -454,8 +454,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);
|
||||
|
|
Loading…
Reference in a new issue