Call watch changed event 82/226782/2
authorhyunho <hhstark.kang@samsung.com>
Thu, 5 Mar 2020 08:16:22 +0000 (17:16 +0900)
committerHyunho Kang <hhstark.kang@samsung.com>
Fri, 6 Mar 2020 01:17:33 +0000 (01:17 +0000)
Change-Id: I960255f30bcec05dce6c908034a2504340863804
Signed-off-by: hyunho <hhstark.kang@samsung.com>
ambient-viewer/src/ambient-viewer.cc

index aab64fb..b4dd4b4 100644 (file)
@@ -70,6 +70,7 @@ void AmbientViewer::OnChangedSignal(keynode_t *node, void *user_data) {
     string rid = data.GetString(NOTIFY_CHANGED_EVENT_RID_KEY);
     viewer->watch_surface_ = make_shared<WatchSurface>(
       stoi(rid), viewer->GetUUID(rid), appid, viewer->win_, viewer);
+    viewer->OnReceived(EVENT_WATCH_CHANGED, appid, data);
   } catch (const std::exception& e) {
     LOGE("Exception occurred : %s", e.what());
     return;