Block new intent when SolidScene is shown

This commit is contained in:
seven332 committed 2016-05-19 16:16:48 +08:00
1 parent 6c5cbd9f2f
commit ccd98ff36e
12 files changed
+141 -101

No files matched your search

@@ -69,14 +69,17 @@ public final class Crash {
}
// Runtime
String topActivityClazzName = null;
String topSceneClazzName = null;
String topActivityClazzName = "null";
String topSceneClazzName = "null";
try {
Activity topActivity = ((EhApplication) context.getApplicationContext()).getTopActivity();
if (null != topActivity) {
topActivityClazzName = topActivity.getClass().getName();
if (topActivity instanceof StageActivity) {
topSceneClazzName = ((StageActivity) topActivity).getTopSceneClazzName();
Class<?> clazz = ((StageActivity) topActivity).getTopSceneClass();
if (clazz != null) {
topSceneClazzName = clazz.getName();
}
}
}
} catch (Throwable e) {