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

Commit abce9cf0 authored by Greg Kaiser's avatar Greg Kaiser
Browse files

SensorList: Don't output UUIDs

We don't want the UUIDs of dynamic sensors to be in the logs.

Bug:28775590
Change-Id: I85ca83e0ad1a0a8ed6618999bd22d86d7ef972f9
parent ea1aa91a
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -178,14 +178,7 @@ std::string SensorList::dump() const {
            if (s.hasAdditionalInfo()) {
                result.appendFormat("has-additional-info, ");
            }
            result.append("| ");

            if (s.isDynamicSensor()) {
                result.append("uuid: ");
                for (uint8_t i : s.getUuid().b) {
                    result.appendFormat("%02x", i);
                }
            }
            result.append("\n");
            return true;
        });