@Override
 public ISpellCheckerSession getISpellCheckerSession(
     String locale, ISpellCheckerSessionListener listener, Bundle bundle) {
   final SpellCheckerService service = mInternalServiceRef.get();
   if (service == null) return null;
   final Session session = service.createSession();
   final InternalISpellCheckerSession internalSession =
       new InternalISpellCheckerSession(locale, listener, bundle, session);
   session.onCreate();
   return internalSession;
 }
 @Override
 public void onCreate() {
   super.onCreate();
   mSuggestionThreshold =
       Double.parseDouble(getString(R.string.spellchecker_suggestion_threshold_value));
   mLikelyThreshold = Double.parseDouble(getString(R.string.spellchecker_likely_threshold_value));
 }