Update DumpTree result in C Bindings 85/319885/2
authorYoungsun Suh <youngsun.suh@samsung.com>
Wed, 19 Feb 2025 07:11:56 +0000 (16:11 +0900)
committerkim hosang <hosang12.kim@samsung.com>
Tue, 25 Feb 2025 04:59:54 +0000 (04:59 +0000)
Change-Id: I38be0f14dc34cbe2e8ad1f0a4e22e7c09243a17a

libaurum/src/c_bindings/AurumCBindings.cc

index 1a7e2d29dc4f71d8950be251c68a041424eb465c..f2619a75c3c7e3fc2e062674cb168613283830f1 100644 (file)
 
 using namespace Aurum;
 
-namespace
-{
-    constexpr const char WINDOWS_KEY[] = "\"windows\"";
-}
-
 void aurum_init()
 {
     LOGI("aurum_init");
@@ -37,8 +32,7 @@ const char* dump_screen()
     LOGI("dump_screen");
     auto device = UiDevice::getInstance();
     auto windowRoots = device->getWindowRoot();
-    std::string dumpResult{WINDOWS_KEY};
-    dumpResult += " : [";
+    std::string dumpResult{"["};
 
     for (const auto& root: windowRoots) {
         dumpResult += root->dumpTree();