private void dictionaryOpenFail(Exception e) {
Log.e(LOG, "Unable to load dictionary.", e);
if (dictRaf != null) {
+ indexAdapter = null;
+ setListAdapter(null);
try {
dictRaf.close();
} catch (IOException e1) {
textToSpeech.shutdown();
textToSpeech = null;
+ indexAdapter = null;
+ setListAdapter(null);
+
try {
Log.d(LOG, "Closing RAF.");
dictRaf.close();