Skip to content

Commit 2cf1ea4

Browse files
authored
Merge pull request #2 from deton/fix-npe
Fix NullPointerException
2 parents 49e147b + c2ff829 commit 2cf1ea4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ android {
99
applicationId "io.github.deton.androidtutcode"
1010
minSdkVersion 14
1111
targetSdkVersion 28
12-
versionCode 2
13-
versionName "1.0.1"
12+
versionCode 3
13+
versionName "1.0.2"
1414
}
1515

1616
buildTypes {

app/src/main/java/jp/deadend/noname/skk/engine/SKKEngine.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ class SKKEngine(
759759
mOkurigana = null
760760
mCandidatesList = null
761761
mService.clearCandidatesView()
762-
mService.currentInputConnection.setComposingText("", 1)
762+
mService.currentInputConnection?.setComposingText("", 1)
763763
}
764764

765765
internal fun changeInputMode(pcode: Int, toKatakana: Boolean): Boolean {

0 commit comments

Comments
 (0)