Fix issue when focused_context is greater than 0x7FFF 76/111876/2
authorJi-hoon Lee <dalton.lee@samsung.com>
Tue, 24 Jan 2017 11:17:35 +0000 (20:17 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 25 Jan 2017 10:01:57 +0000 (02:01 -0800)
commite215bd722ec2093dd4f408549cb3aec6e6e56375
treeedb1bb90a1528faadcd10315ef3fe47f8076af0a
parentacbf923e4bd69e1fb6091ee56a002eef897b17c3
Fix issue when focused_context is greater than 0x7FFF

Since opensource SCIM generates helper_ic using the formula
helper_ic = (uint32)(client&0xFFFF)|((context&0x7FFF)<<16);
, if the context is greater than 0x7FFF the operator "="
is not appropriate for comparing two contexts properly.
Thus added compare function for contexts and modified to use
focused_context variable that is not being truncated by the
helper_ic generation formula.
But still, helper_ic related code seems to need a refinement.

Change-Id: Iecf2c72788b7d3acebb4b119ad0fe4ea78a6b881
ism/src/isf_info_manager.cpp