commit | ae33c3bd35b5ce7262dd89b26ff4d44303334520 | [log] [tgz] |
---|---|---|
author | Tony Mak <tonymak@google.com> | Thu Jan 31 14:29:19 2019 +0000 |
committer | Tony Mak <tonymak@google.com> | Tue Feb 05 21:53:37 2019 +0000 |
tree | eb833721fde84e350baa309cffac8d4c17db9fa4 | |
parent | 80ced71afdb1202469d5a9df715f6ed990995f30 [diff] |
Support intent configuration for actions 1. Pull out the common intent genereation logic to TemplateIntentFactory, so that it could be used by actions. 2. Fix a bug that we are freeing the annotator immediately when we are switching annotator model file. It is incorrect as it could be used by another thread / model. Test: atest frameworks/base/core/tests/coretests/src/android/view/textclassifier/ BUG: 123745079 Change-Id: I6c5364595470b900be2dd976dda6e9fc90464de9