Refactor package event handling 36/129936/9
authorjongmyeongko <jongmyeong.ko@samsung.com>
Thu, 18 May 2017 04:17:52 +0000 (13:17 +0900)
committerjongmyeong ko <jongmyeong.ko@samsung.com>
Fri, 2 Jun 2017 05:03:37 +0000 (05:03 +0000)
commit01d08462acbf177ca8f6b2938f55cc27f3db99f0
treef610c44013911037d295688c2b003e5ff45904f3
parent099f37d602c2558aa020c83845596e58255009ca
Refactor package event handling

In the previous logic, one-by-one incoming events are assumed.
So, when there are mixed events from the different package types,
there is a bug of that the event_type is changed unexpectedly.

Change-Id: I7bdb93050ca2f324be59b25aebd534fcf9e33bc9
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
src/package_manager.c