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

Commit 84b578dd authored by Jakub Pawłowski's avatar Jakub Pawłowski Committed by Gerrit Code Review
Browse files

Merge "Get rid of error log spam when connecting LE Audio device"

parents 3223ab21 7dc81631
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -1254,19 +1254,18 @@ public class DatabaseManager {
        String modelName = "";
        String hardwareVersion = "";
        String softwareVersion = "";
        String value = Utils.byteArrayToUtf8String(bytesValue);
        switch (key) {
            case BluetoothDevice.METADATA_MANUFACTURER_NAME:
                manufacturerName = value;
                manufacturerName = Utils.byteArrayToUtf8String(bytesValue);
                break;
            case BluetoothDevice.METADATA_MODEL_NAME:
                modelName = value;
                modelName = Utils.byteArrayToUtf8String(bytesValue);
                break;
            case BluetoothDevice.METADATA_HARDWARE_VERSION:
                hardwareVersion = value;
                hardwareVersion = Utils.byteArrayToUtf8String(bytesValue);
                break;
            case BluetoothDevice.METADATA_SOFTWARE_VERSION:
                softwareVersion = value;
                softwareVersion = Utils.byteArrayToUtf8String(bytesValue);
                break;
            default:
                // Do not log anything if metadata doesn't fall into above categories