statistics: modify foregroun app monitor to run in two-phases 53/58653/2
authorMu-Woong Lee <muwoong.lee@samsung.com>
Tue, 2 Feb 2016 11:58:27 +0000 (20:58 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Wed, 3 Feb 2016 04:45:53 +0000 (13:45 +0900)
commit09a95804c83404b6df0f4f4fee1bb1abe9f05e1c
tree278b265884429dcec60427efb09b94e606572701
parent01eafd135678725fc089a8020d9f81c534f539ed
statistics: modify foregroun app monitor to run in two-phases

Creating a log record when an app goes to foreground,
and update the duration attribute of the record when another app goes to foreground.

Change-Id: I68f336d78b24e86056d4bfa68c753d831d0ba14d
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
src/statistics/app/active_window_monitor.cpp
src/statistics/app/active_window_monitor.h