mirror of https://github.com/M66B/FairEmail.git
Add state key/values to breadcrumbs
This commit is contained in:
parent
eba0159021
commit
662f03b516
|
@ -87,6 +87,10 @@ public class FragmentBase extends Fragment {
|
|||
crumb.put("name", this.getClass().getName());
|
||||
crumb.put("before", Integer.toString(before));
|
||||
crumb.put("after", Integer.toString(after));
|
||||
for (String key : outState.keySet()) {
|
||||
Object value = outState.get(key);
|
||||
crumb.put(key, value == null ? "" : value.getClass().getName());
|
||||
}
|
||||
Bugsnag.leaveBreadcrumb("onSaveInstanceState", BreadcrumbType.LOG, crumb);
|
||||
|
||||
for (String key : outState.keySet())
|
||||
|
|
Loading…
Reference in New Issue