diff options
author | Tony Mak <tonymak@google.com> | 2019-01-17 19:32:08 +0000 |
---|---|---|
committer | Tony Mak <tonymak@google.com> | 2019-01-28 14:31:26 +0000 |
commit | fc039c36abc808d2d24bdd77c06a65e04f386e9b (patch) | |
tree | 2b73603ea0affdda0751ca131a1e671420a9bd27 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 92fd290867b1e43f9f6f0d7869e43edce251f061 (diff) |
Update IntentFactory to construct intents using RemoteActionTemplate...
objects that are returned by the model
1. TemplateIntentFactory is the intent generator. It reads from the
templates that are returned from the model, and construct the
intents accordingly. If template is missing, we fallback to use
LegacyIntentFactory.
2. LegacyIntentFactory is the old(existing) intent generator.
3. Added a flag to allow us to switch between them.
Test: atest TemplateIntentFactoryTest.java
Test: atest LegacyIntentFactoryTest.java
Change-Id: I7bdcc73321f5a0160c5ff0edf1a2095119f4dcb1
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions