Refine scan app delta 74/78274/2
authorKyungwook Tak <k.tak@samsung.com>
Tue, 5 Jul 2016 04:09:15 +0000 (13:09 +0900)
committerKyungwook Tak <k.tak@samsung.com>
Tue, 5 Jul 2016 07:04:29 +0000 (16:04 +0900)
commitb189d7c62b4d3bcb2bfc16b5b8dbf7e572036735
tree2fd1b63daa829f58b4893511ab59e8154428739b
parent3bf925760821d124ab94aeb40fa5af6bed30402d
Refine scan app delta

1) Logging more precisely
2) Add missing cases e.g., worse riskiest when history is exist and no new
   malware detected and worse case exists
3) Remove useless param on judge stage: jHistory
   jHistory is always same to history.
4) Insert worst when history riskiest case either because existing
   history(worst) needs to be updated when the file is modified and
   malware is detected samely.
5) Delete db row whenever the file is newly scanned regardless of new
   malware detection from the file. It's for refreshing db row when file
   is newly scanned.

Change-Id: Iba88c3e0ed96bd8413a10fcd9aa556edc7129f60
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
src/framework/service/cs-logic.cpp
src/framework/service/cs-logic.h