BuildRequires: pkgconfig(capi-ui-inputmethod)
BuildRequires: pkgconfig(smartreply)
BuildRequires: pkgconfig(key-manager)
-BuildRequires: pkgconfig(ode)
BuildRequires: pkgconfig(capi-system-system-settings)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(dbus-1)
#include <inputmethod_internal.h>
#include <app_control.h>
#include <app_preference.h>
-#include <ode/internal-encryption.h>
#include <notification.h>
#include "autofill.h"
#include "ise.h"
LOGW("Failed to set ise_floating_mode_changed_cb()");
}
-static void ise_mount_changed_cb(void *user_data)
-{
- register_preference_changed_callback();
-}
-
void
ise_create()
{
if (!exist)
write_ise_config_values();
- int state;
- if (ode_internal_encryption_get_state(&state) == ODE_ERROR_NONE) {
- if (state == ODE_STATE_ENCRYPTED) {
- if (ode_internal_encryption_set_mount_event_cb(ise_mount_changed_cb, NULL) != ODE_ERROR_NONE)
- LOGW("Failed to set mount_event_cb()");
- } else if (state == ODE_STATE_UNENCRYPTED) {
- register_preference_changed_callback();
- }
- } else {
- LOGW("Failed to get encryption_state");
- }
+ register_preference_changed_callback();
}
init_recent_used_punctuation();
}