It's not only need to orientation information, but also control the orientation. So move all screen orientation stuff in the extension.