Revert "Revert "Fix the screen-off animation ignoring value set in ro.sf.hwrotation""

This reverts commit a7db641acc7020539222aded65b381cb79ab58b4.