From d7fee325b7b28021e3f745ea385c50e1a7580860 Mon Sep 17 00:00:00 2001 From: Michal Brzezinski Date: Mon, 12 Dec 2022 17:40:54 +0000 Subject: [PATCH] Removing logs for b/237743330 The bug is about keyguard status bar and status bar being visible at the same time. Bug doesn't have any new reports in the last 6-7 weeks so these bug-specific logs are no longer needed. Bug: 237743330 Test: just removing logs Change-Id: Ic25bbf46d23b154ba56b121dd0306c3cb83da032 --- .../keyguard/logging/KeyguardLogger.kt | 29 ------------------- .../KeyguardStatusBarViewController.java | 11 ------- 2 files changed, 40 deletions(-) diff --git a/packages/SystemUI/src/com/android/keyguard/logging/KeyguardLogger.kt b/packages/SystemUI/src/com/android/keyguard/logging/KeyguardLogger.kt index 9e58500c7206d..886d110de3692 100644 --- a/packages/SystemUI/src/com/android/keyguard/logging/KeyguardLogger.kt +++ b/packages/SystemUI/src/com/android/keyguard/logging/KeyguardLogger.kt @@ -54,35 +54,6 @@ class KeyguardLogger @Inject constructor(@KeyguardLog private val buffer: LogBuf buffer.log(TAG, INFO, { str1 = arg.toString() }, { "$msg: $str1" }) } - // TODO: remove after b/237743330 is fixed - fun logStatusBarCalculatedAlpha(alpha: Float) { - buffer.log(TAG, DEBUG, { double1 = alpha.toDouble() }, { "Calculated new alpha: $double1" }) - } - - // TODO: remove after b/237743330 is fixed - fun logStatusBarExplicitAlpha(alpha: Float) { - buffer.log( - TAG, - DEBUG, - { double1 = alpha.toDouble() }, - { "new mExplicitAlpha value: $double1" } - ) - } - - // TODO: remove after b/237743330 is fixed - fun logStatusBarAlphaVisibility(visibility: Int, alpha: Float, state: String) { - buffer.log( - TAG, - DEBUG, - { - int1 = visibility - double1 = alpha.toDouble() - str1 = state - }, - { "changing visibility to $int1 with alpha $double1 in state: $str1" } - ) - } - @JvmOverloads fun logBiometricMessage( @CompileTimeConstant context: String, diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarViewController.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarViewController.java index d4dc1dc197a52..348357445223e 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarViewController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarViewController.java @@ -475,9 +475,6 @@ public class KeyguardStatusBarViewController extends ViewController