Merge "Re-write conditional checks for animation" into udc-qpr-dev