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

Commit 5a54a076 authored by Ugo Yu's avatar Ugo Yu
Browse files

Change storage metadata type to byte array

Bug: 124448651
Test: runtest bluetooth

Change-Id: I10489c4aa93c2c3463456bcba210036bc20082a4
Merged-In: I10489c4aa93c2c3463456bcba210036bc20082a4
parent 5cd29a05
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -126,8 +126,8 @@ interface IBluetooth
    // For Metadata
    boolean registerMetadataListener(in IBluetoothMetadataListener listener, in BluetoothDevice device);
    boolean unregisterMetadataListener(in BluetoothDevice device);
    boolean setMetadata(in BluetoothDevice device, in int key, in String value);
    String getMetadata(in BluetoothDevice device, in int key);
    boolean setMetadata(in BluetoothDevice device, in int key, in byte[] value);
    byte[] getMetadata(in BluetoothDevice device, in int key);


    /**
+1 −1
Original line number Diff line number Diff line
@@ -24,5 +24,5 @@ import android.bluetooth.BluetoothDevice;
 * @hide
 */
oneway interface IBluetoothMetadataListener {
    void onMetadataChanged(in BluetoothDevice devices, in int key, in String value);
    void onMetadataChanged(in BluetoothDevice devices, in int key, in byte[] value);
}