For some Android SDK versions (maybe Android M+) the camera preview rotation
will show upside down constract to the older ones. So we need to adjust
the preview rotation on dynamic orientation change as well as camera
face switch.
Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>