Snap for 8408164 from 775e966e07fb11a55afff5ab93b79128c29a84ac to tm-release Change-Id: I9000b69881a0d44b9fa1406574e0554d9543caeb
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); } /**