Skip to content

Commit e9667ee

Browse files
matsuzayukawa
authored andcommitted
Ignore InflateException when showing AlertDialog (part 2)
This is a follow up CL for r461, which caused several compile failures. BUG=Issue mozc:262 TEST=compile git-svn-id: https://mozc.googlecode.com/svn/trunk@462 a6090854-d499-a067-5803-1114d4e51264
1 parent 292a574 commit e9667ee

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/android/src/com/google/android/inputmethod/japanese/SymbolInputView.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ protected void maybeInitializeEmojiProviderDialog(Context context) {
938938
.setTitle(R.string.pref_emoji_provider_type_title)
939939
.setItems(R.array.pref_emoji_provider_type_entries, listener)
940940
.create();
941-
this.emojiProviderDialog = Optional.of(dialog);
941+
this.emojiProviderDialog = dialog;
942942
} catch (InflateException e) {
943943
// Ignore the exception.
944944
}

src/android/src/com/google/android/inputmethod/japanese/ui/MenuDialog.java

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
import android.content.res.Resources;
4949
import android.os.IBinder;
5050
import android.view.InflateException;
51+
import android.view.WindowManager;
5152

5253
import java.util.Collections;
5354
import java.util.List;

src/mozc_version_template.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MAJOR=2
22
MINOR=16
3-
BUILD=2001
3+
BUILD=2002
44
REVISION=102
55
# NACL_DICTIONARY_VERSION is the target version of the system dictionary to be
66
# downloaded by NaCl Mozc.

0 commit comments

Comments
 (0)