diff options
author | 2013-12-25 11:44:16 +0900 | |
---|---|---|
committer | 2013-12-25 11:44:16 +0900 | |
commit | f1457e7a221082688b6399853e84e77948633c7b (patch) | |
tree | bf5e3e4d77e9c63113cd3a7f0e36ed9752ba18e6 /java/src/com/android/inputmethod/latin/personalization/PersonalizationDictionarySessionRegistrar.java | |
parent | afca1ddd233c03d79433931a0b6ba97ed22663ed (diff) | |
download | latinime-f1457e7a221082688b6399853e84e77948633c7b.tar.gz latinime-f1457e7a221082688b6399853e84e77948633c7b.tar.xz latinime-f1457e7a221082688b6399853e84e77948633c7b.zip |
Remove personalized dicts when the option is turned off.
Bug: 11757851
Change-Id: I94f32859d862fe41e39845ab2bfc2d396c6aea0f
Diffstat (limited to 'java/src/com/android/inputmethod/latin/personalization/PersonalizationDictionarySessionRegistrar.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/personalization/PersonalizationDictionarySessionRegistrar.java | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/personalization/PersonalizationDictionarySessionRegistrar.java b/java/src/com/android/inputmethod/latin/personalization/PersonalizationDictionarySessionRegistrar.java new file mode 100644 index 000000000..76965112f --- /dev/null +++ b/java/src/com/android/inputmethod/latin/personalization/PersonalizationDictionarySessionRegistrar.java @@ -0,0 +1,40 @@ +/* + * Copyright (C) 2013 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.android.inputmethod.latin.personalization; + +import android.content.Context; +import android.content.res.Configuration; + +public class PersonalizationDictionarySessionRegistrar { + public static void init(final Context context) { + } + + public static void onConfigurationChanged(final Context context, final Configuration conf) { + } + + public static void onUpdateData(final Context context, final String type) { + } + + public static void onRemoveData(final Context context, final String type) { + } + + public static void resetAll(final Context context) { + } + + public static void onDestroy(final Context context) { + } +} |