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

Commit 2ee44904 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
(cherry picked from commit 73bbb5c9)
parent 9b1318ee
Loading
Loading
Loading
Loading
+1 −4
Original line number Original line Diff line number Diff line
@@ -309,10 +309,7 @@ final class RemoteDevices {
        for (int j = 0; j < types.length; j++) {
        for (int j = 0; j < types.length; j++) {
            type = types[j];
            type = types[j];
            val = values[j];
            val = values[j];
            if (val.length <= 0)
            if (val.length > 0) {
                errorLog("devicePropertyChangedCallback: bdDevice: " + bdDevice
                        + ", value is empty for type: " + type);
            else {
                synchronized(mObject) {
                synchronized(mObject) {
                    debugLog("Property type: " + type);
                    debugLog("Property type: " + type);
                    switch (type) {
                    switch (type) {