Skip to content
Commit d3b0e548 authored by arthurhung's avatar arthurhung
Browse files

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
parent d8759bb3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment