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

Commit 221bb4f6 authored by Tony Mak's avatar Tony Mak
Browse files

Corresponding changes for the latest libtextclassifier import

Test: atest TextClassifierTest
Change-Id: I80361e0170b212f624ef8ca15de4fee42b196a1a
parent 745210ae
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -65,8 +65,10 @@ public class LegacyIntentClassificationFactoryTest {
                        null,
                        null,
                        null,
                        0,
                        0);
                        null,
                        0L,
                        0L,
                        0d);

        List<LabeledIntent> intents = mLegacyIntentClassificationFactory.create(
                InstrumentationRegistry.getContext(),
@@ -101,8 +103,10 @@ public class LegacyIntentClassificationFactoryTest {
                        null,
                        null,
                        null,
                        0,
                        0);
                        null,
                        0L,
                        0L,
                        0d);

        List<LabeledIntent> intents = mLegacyIntentClassificationFactory.create(
                InstrumentationRegistry.getContext(),
+16 −8
Original line number Diff line number Diff line
@@ -83,9 +83,11 @@ public class TemplateClassificationIntentFactoryTest {
                        null,
                        null,
                        null,
                        null,
                        createRemoteActionTemplates(),
                        0,
                        0);
                        0L,
                        0L,
                        0d);

        List<LabeledIntent> intents =
                mTemplateClassificationIntentFactory.create(
@@ -124,9 +126,11 @@ public class TemplateClassificationIntentFactoryTest {
                        null,
                        null,
                        null,
                        null,
                        createRemoteActionTemplates(),
                        0,
                        0);
                        0L,
                        0L,
                        0d);

        List<LabeledIntent> intents =
                mTemplateClassificationIntentFactory.create(
@@ -162,8 +166,10 @@ public class TemplateClassificationIntentFactoryTest {
                        null,
                        null,
                        null,
                        0,
                        0);
                        null,
                        0L,
                        0L,
                        0d);

        mTemplateClassificationIntentFactory.create(
                InstrumentationRegistry.getContext(),
@@ -196,9 +202,11 @@ public class TemplateClassificationIntentFactoryTest {
                        null,
                        null,
                        null,
                        null,
                        new RemoteActionTemplate[0],
                        0,
                        0);
                        0L,
                        0L,
                        0d);

        mTemplateClassificationIntentFactory.create(
                InstrumentationRegistry.getContext(),