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

Commit 8d9ca991 authored by Chandru S's avatar Chandru S
Browse files

Removing very verbose face auth logs from KeyguardUpdateMonitor

Fixes: 275097662
Test: NA
Change-Id: I06291fafee0e39eaa1ac728c82e5bca37cd9060e
parent 95977e06
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1231,7 +1231,6 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener, Dumpab
     */
    private void handleFaceAcquired(int acquireInfo) {
        Assert.isMainThread();
        mLogger.logFaceAcquired(acquireInfo);
        for (int i = 0; i < mCallbacks.size(); i++) {
            KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get();
            if (cb != null) {
@@ -1284,7 +1283,6 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener, Dumpab
            return;
        }
        Assert.isMainThread();
        mLogger.logFaceAuthHelpMsg(msgId, helpString);
        for (int i = 0; i < mCallbacks.size(); i++) {
            KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get();
            if (cb != null) {
+0 −16
Original line number Diff line number Diff line
@@ -95,10 +95,6 @@ constructor(@KeyguardUpdateMonitorLog private val logBuffer: LogBuffer) {
        logBuffer.log(TAG, ERROR, {}, { logMsg }, exception = ex)
    }

    fun logFaceAcquired(acquireInfo: Int) {
        logBuffer.log(TAG, DEBUG, { int1 = acquireInfo }, { "Face acquired acquireInfo=$int1" })
    }

    fun logFaceAuthDisabledForUser(userId: Int) {
        logBuffer.log(
            TAG,
@@ -128,18 +124,6 @@ constructor(@KeyguardUpdateMonitorLog private val logBuffer: LogBuffer) {
        )
    }

    fun logFaceAuthHelpMsg(msgId: Int, helpMsg: String?) {
        logBuffer.log(
            TAG,
            DEBUG,
            {
                int1 = msgId
                str1 = helpMsg
            },
            { "Face help received, msgId: $int1 msg: $str1" }
        )
    }

    fun logFaceAuthRequested(reason: String?) {
        logBuffer.log(TAG, DEBUG, { str1 = reason }, { "requestFaceAuth() reason=$str1" })
    }