Skip to content
This repository was archived by the owner on Aug 30, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'master' of github.com:getsentry/sentry-android into fea…
…t/in_app_prefix
  • Loading branch information
bruno-garcia committed Oct 30, 2019
commit 65c21e1550b0cdb98c7e21c3ea45a0d0273e0e52
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,15 @@ List<SentryStackFrame> getStackFrames(@Nullable final StackTraceElement[] elemen

if (elements != null) {
for (StackTraceElement item : elements) {
SentryStackFrame sentryStackFrame = new SentryStackFrame();

// https://docs.sentry.io/development/sdk-dev/features/#in-app-frames
sentryStackFrame.setInApp(isInApp(item.getClassName()));
sentryStackFrame.setModule(item.getClassName());
sentryStackFrame.setFunction(item.getMethodName());
sentryStackFrame.setFilename(item.getFileName());
sentryStackFrame.setLineno(item.getLineNumber());
sentryStackFrame.setNative(item.isNativeMethod());

if (item != null) {
SentryStackFrame sentryStackFrame = new SentryStackFrame();
// https://docs.sentry.io/development/sdk-dev/features/#in-app-frames
sentryStackFrame.setInApp(isInApp(item.getClassName()));
sentryStackFrame.setModule(item.getClassName());
sentryStackFrame.setFunction(item.getMethodName());
sentryStackFrame.setFilename(item.getFileName());
sentryStackFrame.setLineno(item.getLineNumber());
sentryStackFrame.setNative(item.isNativeMethod());
sentryStackFrames.add(sentryStackFrame);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import io.sentry.core.protocol.SentryStackFrame;
import io.sentry.core.protocol.SentryStackTrace;
import io.sentry.core.protocol.SentryThread;
import io.sentry.core.util.Nullable;
import io.sentry.core.util.Objects;
import java.util.ArrayList;
import java.util.List;
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.