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

Commit 2373904f authored by Adrian DC's avatar Adrian DC
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 a31439f6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -394,7 +394,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]", ":"));
        }
    }