Correct recently introduced logic error in seamless rotation detection. am: e441e7f1 am: bcbf6707 am: 486238f7 Change-Id: I0713af3eac681192e3fd411418ae87c5b062f611