Fix a little : wm_layer_control
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Fri, 31 Aug 2018 12:24:55 +0000 (21:24 +0900)
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>
Fri, 31 Aug 2018 12:24:55 +0000 (21:24 +0900)
Change-Id: I2b360fc578a0d41c206ccf44474b243fd55879d2
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
src/wm_layer_control.cpp

index 8770236..e0800f8 100644 (file)
@@ -187,9 +187,10 @@ WMError LayerControl::updateLayer(LayerState& layer_state)
 
 WMError LayerControl::commitChange()
 {
+    HMI_INFO("Commit change");
     WMError rc = WMError::SUCCESS;
     vector<unsigned> ivi_l_ids;
-    for(const auto& l : this->wm_layers)
+    for(auto& l : this->wm_layers)
     {
         auto state = l->getLayerState();
         for(const auto& id : state.getIviIdList())
@@ -208,6 +209,7 @@ WMError LayerControl::commitChange()
     for(const auto& i : ivi_l_ids)
     {
         id_array[count] = i;
+        HMI_DEBUG("check render order %d", i);
         ++count;
     }