commit | be4bdf0a11ae121a80c3083fc1c25b2280ac655f | [log] [tgz] |
---|---|---|
author | Joanne Chung <joannechung@google.com> | Wed Apr 28 22:42:51 2021 +0800 |
committer | Joanne Chung <joannechung@google.com> | Thu Apr 29 15:08:58 2021 +0800 |
tree | 529108797e4447b948c342b530642e4e9ba1ba82 | |
parent | 5b6127dffbdab075fbabf150aa2497244aedf7e7 [diff] |
Fix pass null TranslationCapability to dispatchRequestTranslation() We only provide text-text capability now and when the UiTranslation APIs are called, the model files should be ready. To simplify the call flow, we hardcode the TranslationCapability now. If more capabilities are supported, we will call the API to get the TranslationCapability. Bug: 183589662 Test: atest CtsTranslationTestCases Change-Id: Iea1baac7988402298b2577d03adf9d889f45ad53