File : refactoring file data maker module 95/27795/1
authorhyeran74.kim <hyeran74.kim@samsung.com>
Fri, 19 Sep 2014 06:42:36 +0000 (15:42 +0900)
committerhyeran74.kim <hyeran74.kim@samsung.com>
Fri, 19 Sep 2014 06:42:36 +0000 (15:42 +0900)
Change-Id: I08e0ebfaf743543035db717c27fc713ea5c6d02f
Signed-off-by: hyeran74.kim <hyeran74.kim@samsung.com>
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/file/FileApiListView.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/file/manager/FileDataMaker.java

index ba568e0..5d01184 100644 (file)
@@ -168,6 +168,7 @@ public class FileApiListView extends DAViewComposite {
        @Override
        public void clear() {
                tableComp.getTable().removeAll();
+               selectedData = null;
        }
        
        @Override
index 091ecb0..ba85700 100644 (file)
@@ -125,6 +125,13 @@ public class FileDataMaker {
                ArrayList<List<Object>> fileApiList = new ArrayList<List<Object>>();
                Logs probeLogs = pack.getLogs(DataChannelConstants.MSG_PROBE_FILE);
                
+               // check if the inside call is set or not
+               boolean isInculdeInsideCall = false;
+               TargetData target = SettingDataManager.getInstance().getConnectedTarget();
+               if (target.isSelectedFeature(ConfigureLabels.INCLUDE_INSIDE_CALL_FILE) == true) {
+                       isInculdeInsideCall = true;
+               }
+               
                if(null != probeLogs && probeLogs.getRawLogs().size() != 0) {
                        List<LogData> inputs = probeLogs.getLogs();
                        FileEvent event = null;
@@ -134,17 +141,7 @@ public class FileDataMaker {
                                
                                // filtering out internal call
                                // some internal calls are sent when the open or close event to check leak
-                               
-                               // TODO : check and remove
-//                             if (ConfigurationDialogDataManager.getInstance()
-//                                             .getfeatureValue(
-//                                                             ConfigureLabels.INCLUDE_INSIDE_CALL_FILE) == 0) {
-//                                     if (input.isInternal()) {
-//                                             continue;
-//                                     }
-//                             }
-                               TargetData target = SettingDataManager.getInstance().getConnectedTarget();
-                               if (target.isSelectedFeature(ConfigureLabels.INCLUDE_INSIDE_CALL_FILE) == false) {
+                               if(isInculdeInsideCall == false) {
                                        if (input.isInternal()) {
                                                continue;
                                        }