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

Commit ff18f47d authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[flexiglass] Remove unprotected logs from WindowRootViewBlurInteractor." into main

parents e57e5a3e d0df3c27
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -16,7 +16,6 @@

package com.android.systemui.window.domain.interactor

import android.util.Log
import com.android.systemui.Flags
import com.android.systemui.communal.domain.interactor.CommunalInteractor
import com.android.systemui.dagger.SysUISingleton
@@ -110,14 +109,11 @@ constructor(
     */
    fun requestBlurForShade(blurRadius: Int, blurScale: Float): Boolean {
        if (isPrimaryBouncerVisible.value) {
            Log.d(TAG, "requestBlurForShade rejected, bouncer is visible.")
            return false
        }
        if (communalInteractor.isCommunalBlurring.value) {
            Log.d(TAG, "requestBlurForShade rejected, glanceable hub is active.")
            return false
        }
        Log.d(TAG, "requestingBlurForShade for radius=$blurRadius, scale=$blurScale")
        repository.blurRequestedByShade.value = blurRadius
        repository.scaleRequestedByShade.value = blurScale
        return true