From 3c8f22880f62cb76a91fee3b6965c561b12118c2 Mon Sep 17 00:00:00 2001 From: Satoshi Kataoka Date: Wed, 21 Aug 2013 17:24:12 +0900 Subject: [PATCH] Add onDestroy to PersonalizationDictionarySessionRegister Bug: 9429906 Change-Id: Ibf8efd7302da2c27ac59e62b0393f1eec03dc136 --- java/src/com/android/inputmethod/latin/LatinIME.java | 1 + .../PersonalizationDictionarySessionRegister.java | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index ae2221950..709156951 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -639,6 +639,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen ResearchLogger.getInstance().onDestroy(); } unregisterReceiver(mDictionaryPackInstallReceiver); + PersonalizationDictionarySessionRegister.onDestroy(this); LatinImeLogger.commit(); LatinImeLogger.onDestroy(); super.onDestroy(); diff --git a/java/src/com/android/inputmethod/latin/personalization/PersonalizationDictionarySessionRegister.java b/java/src/com/android/inputmethod/latin/personalization/PersonalizationDictionarySessionRegister.java index da59333f5..b189119e4 100644 --- a/java/src/com/android/inputmethod/latin/personalization/PersonalizationDictionarySessionRegister.java +++ b/java/src/com/android/inputmethod/latin/personalization/PersonalizationDictionarySessionRegister.java @@ -16,6 +16,8 @@ package com.android.inputmethod.latin.personalization; +import com.android.inputmethod.latin.amanatto.AmanattoDataUpdater; + import android.content.Context; import android.content.res.Configuration; @@ -31,4 +33,7 @@ public class PersonalizationDictionarySessionRegister { public static void onRemoveData(Context context, String type) { } + + public static void onDestroy(Context context) { + } }