diff options
author | Joanne Chung <joannechung@google.com> | 2021-02-02 22:40:42 +0800 |
---|---|---|
committer | Joanne Chung <joannechung@google.com> | 2021-02-04 19:49:02 +0800 |
commit | aeb92182c17dcc0b9584d9edd4a655784dc067ba (patch) | |
tree | 3020a1a2d656a22ccf0cac48343251ad0b27390a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | c8f8ad2f5444ed5fe78129b92213ec9ada51a26e (diff) |
Fix and refine works in UiTranslationController
1. Fix wrong state while calling runForEachView(). Make a copy of
mView and operate these views on ui thread.
2. Don't throw Exception in Activity side if the views paramether is
empty. The parameters is aleady checked in API call level.
3. Simpify call methods with lamda
Bug: 172969740
Test: call UiTranslation APIs and make sure methods are called as expected
Change-Id: Ic319939ec72a11608c64db876c57780339b75fd3
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions