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

Commit 15644eff authored by Abodunrinwa Toki's avatar Abodunrinwa Toki
Browse files

TextClassifier: Remove debug logs.

Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Bug: 34778895
Change-Id: I1478fe1a2849b1d4661a71ecbf9a27f38430ee28
parent df9b2e8d
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -144,9 +144,6 @@ final class TextClassifierImpl implements TextClassifier {
                    final TextClassification classificationResult =
                            createClassificationResult(
                                    results, string.subSequence(startIndex, endIndex));
                    // TODO: Added this log for debug only. Remove before release.
                    Log.d(LOG_TAG, String.format(
                            "Classification type: %s", classificationResult));
                    return classificationResult;
                }
            }
@@ -377,11 +374,6 @@ final class TextClassifierImpl implements TextClassifier {
                && Linkify.sUrlMatchFilter.acceptMatch(text, start, end)) {
            flag |= SmartSelection.HINT_FLAG_URL;
        }
        // TODO: Added this log for debug only. Remove before release.
        Log.d(LOG_TAG, String.format("Email hint: %b",
                (flag & SmartSelection.HINT_FLAG_EMAIL) != 0));
        Log.d(LOG_TAG, String.format("Url hint: %b",
                (flag & SmartSelection.HINT_FLAG_URL) != 0));
        return flag;
    }