Merge "Add onDestroy to PersonalizationDictionarySessionRegister"

main
Satoshi Kataoka 2013-08-21 10:54:07 +00:00 committed by Android (Google) Code Review
commit f739807a3f
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) {
}
}