diff options
author | Riddle Hsu <riddlehsu@google.com> | 2021-02-12 20:07:43 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2021-02-12 12:44:41 +0000 |
commit | 30869024f9729347ec73e2f915bc34b5a13aebb0 (patch) | |
tree | 1eba446f279e955d9c6c76ed3c1d4dd18936dcdf /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 224e5f0b31b7da229c1bd13f19b5da4f98d30484 (diff) |
Fix NPE in getCompatibleMagnificationSpecForWindow
The commit 179a6b0 forgot to change the returned result.
Note that if the "spec" is non-null, the old code will
cause the source spec of DisplayMagnifier to be cumulatively
multiplied and then become infinite scale.
Bug: 180050756
Test: Enable compat scale and TalkBack
Change-Id: I5a647d4129165021054631461fb97aef61def390
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions