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

Commit 1e64ed2b authored by Adrian DC's avatar Adrian DC Committed by Michael Bestas
Browse files

SystemUI: Resolve faulty keyguard clock logs outputs

 * Enforce Android logs outputs against special chars, example:
    "KeyguardClockSwitch: Updating clock: 1057"

Change-Id: I2642eb50276a2e3d99af696f25ddc1eafbfc3b4e
parent aa9fbad2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -389,7 +389,8 @@ public class KeyguardClockSwitch extends RelativeLayout {
        }
        if (Build.IS_DEBUGGABLE) {
            // Log for debugging b/130888082 (sysui waking up, but clock not updating)
            Log.d(TAG, "Updating clock: " + mClockView.getText());
            Log.d(TAG, "Updating clock: " + mClockView.getText().toString()
                    .replaceAll("[^\\x00-\\x7F]", ":"));
        }
    }