[Title] Fixed a bug where conneciton explorer showes unknown name when
authorBonyong.lee <bonyong.lee@samsung.com>
Wed, 26 Jun 2013 13:04:40 +0000 (22:04 +0900)
committerBonyong.lee <bonyong.lee@samsung.com>
Wed, 26 Jun 2013 13:04:40 +0000 (22:04 +0900)
attaching device
[Desc.]
[Issue]

org.tizen.common.sdblib/src/org/tizen/sdblib/Device.java
org.tizen.common.sdblib/src/org/tizen/sdblib/DeviceMonitor.java

index 744a51c..6856034 100644 (file)
@@ -469,6 +469,7 @@ implements IDevice
     void update( final int changeMask, final String name )
     {
         this.deviceName = name;
+        getRoot().setName( name );
         update(changeMask);
     }
 
index 8aee480..ebbb953 100644 (file)
@@ -285,7 +285,6 @@ extends AbstractServer
                             // update the name if needed.
                             if (!device.getDeviceName().equals(newDevice.getDeviceName())){
                                 device.update(Device.CHANGE_NAME, newDevice.getDeviceName());
-                                device.getRoot().setName(newDevice.getDeviceName());
                             }
 
                             // update the state if needed.