e_policy: changed E_CONTAIN TO E_INTERSECTS when checking EC is out of zone size. 34/260534/1 accepted/tizen/unified/20210630.005924 submit/tizen/20210628.111545
authorJunseok, Kim <juns.kim@samsung.com>
Mon, 28 Jun 2021 10:38:16 +0000 (19:38 +0900)
committerJunseok, Kim <juns.kim@samsung.com>
Mon, 28 Jun 2021 10:38:16 +0000 (19:38 +0900)
commit5c91572f9cd815d55f985a648c5aaf7b55bebc9d
tree8433bc377cd9b4079ae4a9beef6a3d1dfde67709
parentfba3ee638726e8ae481e5a8f45ff473982f87da5
e_policy: changed E_CONTAIN TO E_INTERSECTS when checking EC is out of zone size.

There was bug that The EC is regards as out of Zone using E_CONTAIN function.
if the EC is placed at boundary of Zone, E_CONTAIN(zone geom, ec geom) returns EC is out of zone.
But, In this case, we should use E_INTERSECTS to consider remained EC part of inside of Zone.

Change-Id: Ia9e6f22bdc5b8d33ed55305b66b9475e04e82587
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
src/bin/e_policy.c