Correct recently introduced logic error in seamless rotation detection. am: e441e7f15f
am: bcbf6707b0

Change-Id: I856eec21e2d7687683a0bcde683ea6b7a05dd20a