summaryrefslogtreecommitdiff
path: root/vdrmanager
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2011-11-04 10:07:40 +0100
committerlado <herrlado@gmail.com>2011-11-04 10:07:40 +0100
commite7bdd1323a035a964e45e001af10aabda1f0abad (patch)
treea2d3380883f4ec67c1fd332f386eaca6e43417d7 /vdrmanager
parent5183ae79511c93e8a3eb603fd4400e1f4e1e9223 (diff)
downloadvdr-manager-e7bdd1323a035a964e45e001af10aabda1f0abad.tar.gz
vdr-manager-e7bdd1323a035a964e45e001af10aabda1f0abad.tar.bz2
android.view.WindowManager$BadTokenException: Unable to add window --
token android.os.BinderProxy@40936048 is not valid; is your activity running?
Diffstat (limited to 'vdrmanager')
-rw-r--r--vdrmanager/src/de/bjusystems/vdrmanager/gui/About.java4
1 files changed, 3 insertions, 1 deletions
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();
+ }
}
}