[Title] modify setRootUser to becomeSuperUser by common eplugin 87/19587/1
authorgreatim <jaewon81.lim@samsung.com>
Wed, 16 Apr 2014 07:46:36 +0000 (16:46 +0900)
committergreatim <jaewon81.lim@samsung.com>
Wed, 16 Apr 2014 07:46:36 +0000 (16:46 +0900)
[Desc.]
[Issue]

Change-Id: I8e5e098dd9372246231cebbb0affac8aecf19ddf

org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/communicator/CommunicatorUtils.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/communicator/Communicator30.java

index e037c52..849a175 100755 (executable)
@@ -480,7 +480,7 @@ public class CommunicatorUtils {
                                + device.getSerialNumber() + CommonConstants.UNDERBAR
                                + AnalyzerConstants.API_NAME_FILE_NAME;
                try {
-                       device.setRootUser(true);
+                       device.becomeSuperUser(true);
                } catch (TimeoutException e) {
                        e.printStackTrace();
                } catch (SdbCommandRejectedException e) {
index 8186378..4b19de8 100755 (executable)
@@ -471,7 +471,7 @@ public class Communicator30 extends BaseCommunicator {
        private HostResult pullTheFile(String from, String to) {
 
                try {
-                       DACommunicator.getSelectedDevice().getIDevice().setRootUser(true);
+                       DACommunicator.getSelectedDevice().getIDevice().becomeSuperUser(true);
                } catch (TimeoutException e) {
                        e.printStackTrace();
                } catch (SdbCommandRejectedException e) {