Skip to content

Commit b0daf13

Browse files
committed
katnis crash fix
1 parent f55a962 commit b0daf13

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

smarttubetv/src/main/java/com/liskovsoft/smartyoutubetv2/tv/ui/main/MainApplication.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,13 @@ private void setupGlobalExceptionHandler() {
8181
}
8282

8383
Thread.setDefaultUncaughtExceptionHandler((t, e) -> {
84+
if (Helpers.contains(e.getMessage(), "KatnissVoiceInteractionService")) {
85+
// IllegalStateException: Not allowed to start service Intent { act=android.service.voice.VoiceInteractionService
86+
// cmp=com.google.android.katniss/.search.serviceapi.KatnissVoiceInteractionService (has extras) }:
87+
// app is in background uid UidRecord{40e7240 u0a19 CEM idle change:cached procs:1 seq(0,0,0)}
88+
return;
89+
}
90+
8491
applyCrashFixes(e);
8592
//e = wrapWithAdditionalInfo(e);
8693

0 commit comments

Comments
 (0)