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

Commit d0df3c27 authored by burakov's avatar burakov
Browse files

[flexiglass] Remove unprotected logs from WindowRootViewBlurInteractor.

Bug: 416135134
Test: N/A removing log statements
Flag: EXEMPT trivial refactor
Change-Id: I75ee4b266ce1d997bca41b05290fc3b5025399c2
parent c582e387
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