Implement appcore_base_get_rotation_state API