Change-Id: I5677e063277ad1275436bc8a403ccfff518e407b
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
if (g_ui->get_shift_state() != SCL_SHIFT_STATE_LOCK) {
g_ui->set_shift_state(mode ? SCL_SHIFT_STATE_ON : SCL_SHIFT_STATE_OFF);
g_ui->set_autocapital_shift_state(!mode);
- if (mode) {
- ise_send_event(MVK_Shift_On, KEY_MASK_NULL);
- } else {
- ise_send_event(MVK_Shift_Off, KEY_MASK_NULL);
+
+ if (g_config_values.prediction_on) {
+ if (mode) {
+ ise_send_event(MVK_Shift_On, KEY_MASK_NULL);
+ } else {
+ ise_send_event(MVK_Shift_Off, KEY_MASK_NULL);
+ }
}
}
}