优化反馈收集类名
This commit is contained in:
parent
73fb523ddc
commit
89a54276b3
@ -60,10 +60,14 @@ public class CrashSaveBean {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public String getActivitySize() {
|
public String getActivitySize() {
|
||||||
StringBuilder builder=new StringBuilder();
|
StringBuilder builder = new StringBuilder();
|
||||||
for (WeakReference<Activity> activity : activities) {
|
for (WeakReference<Activity> activity : activities) {
|
||||||
if(activity.get()!=null){
|
try {
|
||||||
builder.append(activity.get()).append(",");
|
if (activity.get() != null) {
|
||||||
|
builder.append(activity.get().getClass().getSimpleName()).append(",");
|
||||||
|
}
|
||||||
|
} catch (Exception ignored) {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return builder.toString();
|
return builder.toString();
|
||||||
|
Loading…
Reference in New Issue
Block a user