Skip to content
This repository was archived by the owner on Sep 7, 2020. It is now read-only.

Commit 222765f

Browse files
committed
removed logs
1 parent b8fc553 commit 222765f

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

HtmlTextView/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ publish {
2222

2323
dependencies {
2424
implementation 'androidx.annotation:annotation:1.1.0'
25+
2526
}

HtmlTextView/src/main/java/org/sufficientlysecure/htmltextview/DesignQuoteSpan.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,9 @@
55
import android.text.Layout;
66
import android.text.style.LeadingMarginSpan;
77
import android.text.style.LineBackgroundSpan;
8-
import android.util.Log;
98

109
import androidx.annotation.NonNull;
1110

12-
import static org.sufficientlysecure.htmltextview.HtmlTextView.TAG;
13-
1411
public class DesignQuoteSpan implements LeadingMarginSpan, LineBackgroundSpan {
1512

1613
private int backgroundColor,stripColor;
@@ -24,7 +21,6 @@ public class DesignQuoteSpan implements LeadingMarginSpan, LineBackgroundSpan {
2421
this.stripColor=stripColor;
2522
this.stripeWidth=stripWidth;
2623
this.gap=gap;
27-
Log.d(TAG, "DesignQuoteSpanClass: Called");
2824

2925
}
3026

@@ -46,7 +42,6 @@ public void drawLeadingMargin(Canvas c,
4642
int end,
4743
boolean first,
4844
Layout layout) {
49-
Log.d(TAG, "drawLeadingMargin: Called");
5045

5146
Paint.Style style=p.getStyle();
5247
int paintColor=p.getColor();
@@ -70,7 +65,6 @@ public void drawBackground(@NonNull Canvas canvas,
7065
int start,
7166
int end,
7267
int lineNumber) {
73-
Log.d(TAG, "drawBackground: Called");
7468
int paintColor=paint.getColor();
7569
paint.setColor(backgroundColor);
7670
canvas.drawRect((float)left,(float)top,(float)right,(float)bottom,paint);

HtmlTextView/src/main/java/org/sufficientlysecure/htmltextview/HtmlTextView.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import android.text.Spanned;
2323
import android.text.style.QuoteSpan;
2424
import android.util.AttributeSet;
25-
import android.util.Log;
2625

2726
import androidx.annotation.NonNull;
2827
import androidx.annotation.Nullable;
@@ -171,7 +170,6 @@ private void replaceQuoteSpans(Spanned spanned) {
171170

172171
Spannable spannable = (Spannable) spanned;
173172
QuoteSpan[] quoteSpans = spannable.getSpans(0, spannable.length() - 1, QuoteSpan.class);
174-
Log.d(TAG, "replaceQuoteSpans: " + spannable);
175173
for (QuoteSpan quoteSpan : quoteSpans) {
176174
int start = spannable.getSpanStart(quoteSpan);
177175
int end = spannable.getSpanEnd(quoteSpan);

0 commit comments

Comments
 (0)