diff options
author | Joanne Chung <joannechung@google.com> | 2021-04-28 22:42:51 +0800 |
---|---|---|
committer | Joanne Chung <joannechung@google.com> | 2021-04-29 15:08:58 +0800 |
commit | be4bdf0a11ae121a80c3083fc1c25b2280ac655f (patch) | |
tree | 529108797e4447b948c342b530642e4e9ba1ba82 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions