Add an utility function to convert RotationFlags to Rotation

Test: presubmit
Bug: 191841127

Change-Id: I9193f24eb91fc2f9f8e13abb7b21101575ee0663
1 file changed