commit | 63be76e15a2b6e5e156a01df355bc30460a237b1 | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Tue Feb 12 17:48:31 2019 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Tue Feb 12 17:48:31 2019 +0000 |
tree | d39e53445c31ba9df6e69387ed410ca4edf3a3aa | |
parent | 835ba2baaa47a665aec36fe572d434b3fc89f735 [diff] | |
parent | ca7433e2da35d91610dc9a1ee0933f569e42b8d5 [diff] |
Merge "Use local textclassifier in perf test"
diff --git a/apct-tests/perftests/core/src/android/textclassifier/TextClassifierPerfTest.java b/apct-tests/perftests/core/src/android/textclassifier/TextClassifierPerfTest.java index ec46a75..c506aec 100644 --- a/apct-tests/perftests/core/src/android/textclassifier/TextClassifierPerfTest.java +++ b/apct-tests/perftests/core/src/android/textclassifier/TextClassifierPerfTest.java
@@ -64,7 +64,7 @@ Context context = InstrumentationRegistry.getTargetContext(); TextClassificationManager textClassificationManager = context.getSystemService(TextClassificationManager.class); - mTextClassifier = textClassificationManager.getTextClassifier(); + mTextClassifier = textClassificationManager.getLocalTextClassifier(); } @Test