From e7bdd1323a035a964e45e001af10aabda1f0abad Mon Sep 17 00:00:00 2001 From: lado Date: Fri, 4 Nov 2011 10:07:40 +0100 Subject: android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@40936048 is not valid; is your activity running? --- vdrmanager/src/de/bjusystems/vdrmanager/gui/About.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'vdrmanager/src/de/bjusystems') diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/About.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/About.java index eb6252c..4d6290c 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/About.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/About.java @@ -28,6 +28,8 @@ public class About { .setCancelable(false) .create(); } - about.show(); + if(!activity.isFinishing()){ + about.show(); + } } } -- cgit v1.2.3