Add missing auto_detect_landscape parsing code 94/161994/2
authorJi-hoon Lee <dalton.lee@samsung.com>
Tue, 28 Nov 2017 11:29:43 +0000 (20:29 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 29 Nov 2017 04:54:56 +0000 (04:54 +0000)
Change-Id: Ia9cb25531b5a2320f303e2a7a1b291be689fcef1

xmlresource/default_configure_parser.cpp

index ca77341..312c39c 100644 (file)
@@ -87,6 +87,8 @@ class DefaultConfigureParserImpl {
                     m_default_configure.target_screen_width = get_content_int(cur_node);
                 } else if (0 == xmlStrcmp(cur_node->name, (const xmlChar *)"base_screen_height")) {
                     m_default_configure.target_screen_height = get_content_int(cur_node);
+                } else if (0 == xmlStrcmp(cur_node->name, (const xmlChar *)"auto_detect_landscape")) {
+                    m_default_configure.auto_detect_landscape = get_content_bool(cur_node);
                 } else if (0 == xmlStrcmp(cur_node->name, (const xmlChar *)"image_file_base_path")) {
                     xmlChar* temp = xmlNodeGetContent(cur_node);
                     m_default_configure.image_file_base_path = (sclchar *)temp;