Merge "Use local textclassifier in perf test"
This commit is contained in:
committed by
Android (Google) Code Review
commit
63be76e15a
@@ -64,7 +64,7 @@ public class TextClassifierPerfTest {
|
||||
Context context = InstrumentationRegistry.getTargetContext();
|
||||
TextClassificationManager textClassificationManager =
|
||||
context.getSystemService(TextClassificationManager.class);
|
||||
mTextClassifier = textClassificationManager.getTextClassifier();
|
||||
mTextClassifier = textClassificationManager.getLocalTextClassifier();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user