summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorarthurhung <arthurhung@google.com>2020-04-23 15:30:21 +0800
committerarthurhung <arthurhung@google.com>2020-04-27 11:18:18 +0800
commitd3b0e54819a2823f8dfe1ab4bafec2038959e7a9 (patch)
tree2b944ef4fa1953ae84fcccb25a34223d02bab8ac /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentd8759bb38daf7f7ed9d84c704734c9e3a15618be (diff)
Prevent divided by zero if animation is disable
Developer could disable window animation in developer options, but it could lead to system crash because the transform values may divid duration time which is set to zero. Bug: 154894010 Test: disable animation, open simlated display, resize Change-Id: I550c309d9f684e2a5a50b4d6812703dd20a179b5
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions