Remove expensive logging statement. am: 84b3aa147e am: 775e966e07
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libtextclassifier/+/17571123
Change-Id: Ie218b00be931d45f4c6c151a4955812bc664bbc2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/java/src/com/android/textclassifier/ModelFileManagerImpl.java b/java/src/com/android/textclassifier/ModelFileManagerImpl.java
index e3b646f..45426d0 100644
--- a/java/src/com/android/textclassifier/ModelFileManagerImpl.java
+++ b/java/src/com/android/textclassifier/ModelFileManagerImpl.java
@@ -390,18 +390,7 @@
localePreferences.get(0),
targetLocale));
}
- ModelFile modelFile = findBestModelFile(modelType, targetLocale);
- TcLog.d(
- TAG,
- String.format(
- Locale.US,
- "findBestModelFile: best model: %s; localePreferences: %s; detectedLocales: %s;"
- + " targetLocale: %s",
- modelFile,
- localePreferences,
- detectedLocales,
- targetLocale));
- return modelFile;
+ return findBestModelFile(modelType, targetLocale);
}
/**