am f739807a: Merge "Add onDestroy to PersonalizationDictionarySessionRegister"

* commit 'f739807a3f4dc02ebbd219a2f88f03a593b39a7a':
  Add onDestroy to PersonalizationDictionarySessionRegister
This commit is contained in:
Satoshi Kataoka 2013-08-21 03:56:50 -07:00 committed by Android Git Automerger
commit 220a44d0f3
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) {
}
}