Change the processing slot for cleardata/clearcache 39/124239/2
authorjongmyeongko <jongmyeong.ko@samsung.com>
Wed, 5 Apr 2017 14:16:17 +0000 (23:16 +0900)
committerjongmyeong ko <jongmyeong.ko@samsung.com>
Thu, 13 Apr 2017 07:36:57 +0000 (00:36 -0700)
commit5aa4ada9b63569c38ade19bde8b2c245938b7bfa
treeaabfa8774a786629020f242b099b11a50d19eb74
parent3ef6ce4b68452b342c063922bb83a59d70431351
Change the processing slot for cleardata/clearcache

In the most client's event-callback, the pkgid is used to classify the incomming event.
So, we should control not to process somethings simultaneously
for same pkgid in different slots.

Note: In case of getting size, there is dedicated callback. so, no problem.
In case of clear cache all, the pkgid is '__ALL__', so it can be distinguished.

Change-Id: If7840f9ae49ae5857483cae3ed3902f0cdab0319
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
(cherry picked from commit a171770669d15b8f1d0ab44aa5c438ba83e5880c)
src/request.c