Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 255dcfc0 authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Final IBluetoothHearingAid.aidl improvements

Use HiSyncId instead of CustomerId for unique hearing aid id, use proper
data type for it (64bit).
Make setVolume, adjustVolume return void, like for AVRCP.

Bug: 69623109
Test: compliance with the spec
Change-Id: I5fd51514793052d4ee2c3f9029eb75491145cc25
parent 66a57b69
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -32,10 +32,12 @@ interface IBluetoothHearingAid {
    int getConnectionState(in BluetoothDevice device);
    boolean setPriority(in BluetoothDevice device, int priority);
    int getPriority(in BluetoothDevice device);
    boolean adjustVolume(int direction);
    boolean setVolume(int volume);
    void adjustVolume(int direction);
    void setVolume(int volume);
    int getVolume();
    int getClientId(in BluetoothDevice device);

    const int HI_SYNC_ID_INVALID = 0;
    long getHiSyncId(in BluetoothDevice device);

    const int SIDE_LEFT = 0;
    const int SIDE_RIGHT = 1;