Merge "sdm: Handle exit condition for disable rotation animation" into dev-2.0