Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

- Rename `SentryUserFeedbackDialog` to `SentryUserFeedbackForm` and `Sentry.showUserFeedbackDialog()` to `Sentry.showUserFeedbackForm()` ([#5349](https://github.com/getsentry/sentry-java/pull/5349))
- The old `SentryUserFeedbackDialog` class and `Sentry.showUserFeedbackDialog()` methods are deprecated but still work and will be removed in the next major version
- Deprecate `SentryUserFeedbackButton` ([#5350](https://github.com/getsentry/sentry-java/pull/5350))
- It will be removed in the next major version

### Dependencies

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,33 @@
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

/**
* @deprecated `SentryUserFeedbackButton` will be removed in the next major version
*/
@Deprecated
public class SentryUserFeedbackButton extends Button {

private @Nullable OnClickListener delegate;

@Deprecated
public SentryUserFeedbackButton(Context context) {
super(context);
init(context, null, 0, 0);
}

@Deprecated
public SentryUserFeedbackButton(Context context, AttributeSet attrs) {
super(context, attrs);
init(context, attrs, 0, 0);
}

@Deprecated
public SentryUserFeedbackButton(Context context, AttributeSet attrs, int defStyleAttr) {
super(context, attrs, defStyleAttr);
init(context, attrs, defStyleAttr, 0);
}

@Deprecated
public SentryUserFeedbackButton(
Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
super(context, attrs, defStyleAttr, defStyleRes);
Expand Down
Loading