From: Reimar Döffinger Date: Tue, 17 Apr 2018 20:41:56 +0000 (+0200) Subject: Check isFinishing when creating a Toast in some cases. X-Git-Url: http://gitweb.fperrin.net/?p=Dictionary.git;a=commitdiff_plain;h=e5c7c614026ee3b05f2a5d47909c08eb942659de Check isFinishing when creating a Toast in some cases. For code that may be run in the background this is necessary to avoid a BadTokenException when trying to display the Toast with no active window. --- diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 192b804..647d12d 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -2,7 +2,7 @@