am 008e9b3e: Fix Null pointer exception on closing and update assets
Merge commit '008e9b3e1a8c037e0275b19f284a7d2e76c9e140' into gingerbread-plus-aosp * commit '008e9b3e1a8c037e0275b19f284a7d2e76c9e140': Fix Null pointer exception on closing and update assetsmain
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
@ -1487,7 +1487,12 @@ public class LatinIME extends InputMethodService
|
|||
mVoiceInput.cancel();
|
||||
}
|
||||
requestHideSelf(0);
|
||||
mKeyboardSwitcher.getInputView().closing();
|
||||
if (mKeyboardSwitcher != null) {
|
||||
LatinKeyboardView inputView = mKeyboardSwitcher.getInputView();
|
||||
if (inputView != null) {
|
||||
inputView.closing();
|
||||
}
|
||||
}
|
||||
TextEntryState.endSession();
|
||||
}
|
||||
|
||||
|
|
|
@ -37,8 +37,8 @@ public class LatinImeLogger implements SharedPreferences.OnSharedPreferenceChang
|
|||
public static void onDestroy() {
|
||||
}
|
||||
|
||||
public static void logOnManualSuggestion(String before, String after, int position
|
||||
, List<CharSequence> suggestions) {
|
||||
public static void logOnManualSuggestion(
|
||||
String before, String after, int position, List<CharSequence> suggestions) {
|
||||
}
|
||||
|
||||
public static void logOnAutoSuggestion(String before, String after) {
|
||||
|
|