Add onDestroy to PersonalizationDictionarySessionRegister

Bug: 9429906
Change-Id: Ibf8efd7302da2c27ac59e62b0393f1eec03dc136
main
Satoshi Kataoka 2013-08-21 17:24:12 +09:00
parent d6ddb96ee8
commit 3c8f22880f
2 changed files with 6 additions and 0 deletions

View File

@ -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();

View File

@ -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) {
}
}