[Title] add some debugging log for cs report service
authoryoonki.park <yoonki.park@samsung.com>
Fri, 18 Jan 2013 06:15:43 +0000 (15:15 +0900)
committeryoonki.park <yoonki.park@samsung.com>
Fri, 18 Jan 2013 06:15:43 +0000 (15:15 +0900)
[Type]
[Module]
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: Ia062da86fd246911e0a5451f4586c1242a037bcf
Signed-off-by: Yoonki Park <yoonki.park@samsung.com>
org.tizen.common.sdblib/src/org/tizen/sdblib/CrashReportService.java

index 38b6d7b..3048e36 100644 (file)
@@ -109,6 +109,7 @@ public final class CrashReportService implements IDeviceChangeListener {
             }
             mSelector.wakeup();
             channel.register(mSelector, SelectionKey.OP_READ, device);
+            Log.i("sdb", "registered CS Report Service");
         } catch (IOException e) {
             Log.e("sdb", "failed to open a socket channel");
         }
@@ -212,6 +213,8 @@ public final class CrashReportService implements IDeviceChangeListener {
      */
     private void notifyAllListeners(final IDevice device, final String path) {
         // TODO : At this time, send to the one listener.
+
+        Log.i("sdb", "cs file is created and notify to " + device.getSerialNumber());
         synchronized (mCSListeners) {
             for (ICrashReportServiceListener listener : mCSListeners) {
                 if (device != null) {