-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feat][SDK-347] ANR report #323
base: master
Are you sure you want to change the base?
Conversation
|
||
if (isMainThreadNotHandlerTicker()) { | ||
if (isProcessNotResponding() && reported.compareAndSet(false, true)) { | ||
if (anrListener != null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are there any benefits to allowing the watchdog to run if no anrListener
was set?
package com.rollbar.android.anr.historical.stacktrace; | ||
|
||
public final class Line { | ||
public int lineno; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds like something that should be read-only and hidden?
|
||
public List<StackFrame> getStackFrames( | ||
final StackTraceElement[] elements, final boolean includeFrames) { | ||
List<StackFrame> StackFrames = null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure to stick to a single style convention, preferable something that's already in place.
if (className == null || className.isEmpty()) { | ||
return true; | ||
} | ||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not ship code that's commented out.
} | ||
|
||
|
||
public List<RollbarThread> parse(final Lines lines) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please cover with tests.
Description of the change
Type of change
Related issues
Checklists
Development
Code review