diff options
author | Robert Snoeberger <snoeberger@google.com> | 2020-04-10 18:47:47 -0400 |
---|---|---|
committer | Robert Snoeberger <snoeberger@google.com> | 2020-04-10 18:51:36 -0400 |
commit | 0cf2bc2f53705f493254da4f058a1e5b78842381 (patch) | |
tree | baea99ea4db72fe9276e478f9336c00641cdf959 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | bb5e6b49a71775dd86ce938aef2083a93799939e (diff) |
LiveData#getValue can return null
The documentation recommends not calling this method on a background
thread. The problem is that it returns null until the value is set, and
setting the value requires waiting for the set-task to run on the main
thread.
Fixes: 153697933
Test: seek bar is still working
Change-Id: Idbb02e1c9baafd1676f67c1a5408107ed84c41d2
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions