Merge "framework: fix screenshot and rotation animation for devices with abnormal hw rotation" into cm-11.0