Skip to content

Commit

Permalink
checking for zombies on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
sspanak committed Sep 13, 2024
1 parent 5ff3445 commit e5b9beb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:tools="http://schemas.android.com/tools"
android:versionCode="693"
android:versionCode="694"
android:versionName="38.0"
xmlns:android="http://schemas.android.com/apk/res/android">

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,12 @@ protected void onInit() {

@Override
protected boolean onStart(InputConnection connection, EditorInfo field) {
if (!SystemSettings.isTT9Active(this)) {
onStop();
onDeath();
return false;
}

if (!super.onStart(connection, field)) {
return false;
}
Expand Down

0 comments on commit e5b9beb

Please sign in to comment.