Fix Null pointer exception on closing and update assets

Change-Id: I30fdac74685beae06b5c61140452b26b29ae4c39
main
satok 2010-09-28 11:27:44 +09:00
parent e07bc39a3b
commit 008e9b3e1a
8 changed files with 8 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -1487,7 +1487,12 @@ public class LatinIME extends InputMethodService
mVoiceInput.cancel(); mVoiceInput.cancel();
} }
requestHideSelf(0); requestHideSelf(0);
mKeyboardSwitcher.getInputView().closing(); if (mKeyboardSwitcher != null) {
LatinKeyboardView inputView = mKeyboardSwitcher.getInputView();
if (inputView != null) {
inputView.closing();
}
}
TextEntryState.endSession(); TextEntryState.endSession();
} }

View File

@ -37,8 +37,8 @@ public class LatinImeLogger implements SharedPreferences.OnSharedPreferenceChang
public static void onDestroy() { public static void onDestroy() {
} }
public static void logOnManualSuggestion(String before, String after, int position public static void logOnManualSuggestion(
, List<CharSequence> suggestions) { String before, String after, int position, List<CharSequence> suggestions) {
} }
public static void logOnAutoSuggestion(String before, String after) { public static void logOnAutoSuggestion(String before, String after) {