Fix : debug message is wrong
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Mon, 18 Jun 2018 00:50:56 +0000 (09:50 +0900)
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Mon, 18 Jun 2018 00:50:56 +0000 (09:50 +0900)
Change-Id: I7936d13c96a791fa8b17f1f78c4074c7a3483ce3
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
src/app.cpp

index 3322a21..0c89804 100644 (file)
@@ -725,7 +725,7 @@ WMError App::setInvisibleTask(const std::string &role, bool split)
     if (state.main == -1)
     {
         HMI_DEBUG("wm", "Layout: %s", kNameLayoutNormal);
     if (state.main == -1)
     {
         HMI_DEBUG("wm", "Layout: %s", kNameLayoutNormal);
-        state = LayoutState{*surface_id};
+        //state = LayoutState{*surface_id};
         /* this->try_layout(
             state, LayoutState{*surface_id}, [&](LayoutState const &nl) {
                 HMI_DEBUG("wm", "Layout: %s", kNameLayoutNormal);
         /* this->try_layout(
             state, LayoutState{*surface_id}, [&](LayoutState const &nl) {
                 HMI_DEBUG("wm", "Layout: %s", kNameLayoutNormal);
@@ -763,7 +763,7 @@ WMError App::setInvisibleTask(const std::string &role, bool split)
                         g_app_list.setAction(req, deact_sub);
                     }
                 }
                         g_app_list.setAction(req, deact_sub);
                     }
                 }
-                state = LayoutState{state.main, *surface_id};
+                //state = LayoutState{state.main, *surface_id};
             }
             else
             {
             }
             else
             {
@@ -805,11 +805,11 @@ WMError App::setInvisibleTask(const std::string &role, bool split)
                         }
                         deact_sub.visible = task_visible;
                         deact_sub.end_draw_finished = end_draw_finished;
                         }
                         deact_sub.visible = task_visible;
                         deact_sub.end_draw_finished = end_draw_finished;
-                        HMI_SEQ_DEBUG(req, "sub surface ddoesn't exist");
+                        HMI_SEQ_DEBUG(req, "sub surface doesn't exist");
                         g_app_list.setAction(req, deact_sub);
                     }
                 }
                         g_app_list.setAction(req, deact_sub);
                     }
                 }
-                state = LayoutState{*surface_id};
+                //state = LayoutState{*surface_id};
             }
         }
     }
             }
         }
     }