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

Commit 73bbb5c9 authored by Ajay Panicker's avatar Ajay Panicker
Browse files

Remove logspam for empty remote device properties

Some properties can have a length of zero, so don't display an error
message when this happens.

Bug: 37803501
Test: Code still compiles
Change-Id: If6a2f32505c61f31075b2fc87d0521020c3720ac
parent ab88c48b
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -309,10 +309,7 @@ final class RemoteDevices {
        for (int j = 0; j < types.length; j++) {
            type = types[j];
            val = values[j];
            if (val.length <= 0)
                errorLog("devicePropertyChangedCallback: bdDevice: " + bdDevice
                        + ", value is empty for type: " + type);
            else {
            if (val.length > 0) {
                synchronized(mObject) {
                    debugLog("Property type: " + type);
                    switch (type) {