summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-04-12 17:24:37 +0800
committer Riddle Hsu <riddlehsu@google.com> 2023-04-12 09:27:07 +0000
commit7623531af01b2ea3b326f68109ed08ba0ccf24b7 (patch)
tree8188a11ba3c94b3019b4797bdb4b02ef223b1776 /api/api.go
parent7dd18dd3485ff3306fba1edcff873fd1562b822f (diff)
Avoid NPE when removing fixed rotation transform
The legacy code "checks c.getParent() != null" in resetTransform to avoid the case such as transition finished after the token is detached. While with shell transition, the rotation leash still needs to be removed but ignore reparent in case the token is detached. Also extract FixedRotationTransformStateLegacy for legacy transition. So by default the shell transition can skip the unnecessary creation of SeamlessRotator. Bug: 277697318 Test: IncompleteMotionTest Change-Id: I6e5ebd15a972d88232e7a9a46ff1ab4f557c58d7
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions