From 58521b33703a92230a306ac0c330d1cc36ceb6a1 Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Mon, 14 Aug 2023 12:00:21 +0200 Subject: [PATCH] Remove unnecessary log message in CompositeWithOpaqueBackground (#3955) --- .../keylesspalace/tusky/util/CompositeWithOpaqueBackground.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/util/CompositeWithOpaqueBackground.kt b/app/src/main/java/com/keylesspalace/tusky/util/CompositeWithOpaqueBackground.kt index f7d12b6fe..0aaef6d5c 100644 --- a/app/src/main/java/com/keylesspalace/tusky/util/CompositeWithOpaqueBackground.kt +++ b/app/src/main/java/com/keylesspalace/tusky/util/CompositeWithOpaqueBackground.kt @@ -26,7 +26,6 @@ import android.graphics.Paint import android.graphics.Shader import android.graphics.drawable.ColorDrawable import android.graphics.drawable.Drawable -import android.util.Log import android.util.TypedValue import android.view.View import androidx.annotation.AttrRes @@ -79,7 +78,6 @@ class CompositeWithOpaqueBackground(val view: View) : BitmapTransformation() { // If the input bitmap has no alpha channel then there's nothing to do if (!toTransform.hasAlpha()) return toTransform - Log.d(TAG, "toTransform: ${toTransform.width} ${toTransform.height}") // Get the background drawable for this view, falling back to the given attribute val backgroundDrawable = view.getFirstNonNullBackgroundOrAttr(android.R.attr.colorBackground) backgroundDrawable ?: return toTransform