Skip to content

Commit 59a980f

Browse files
authored
Merge 543be7f into 3eeb978
2 parents 3eeb978 + 543be7f commit 59a980f

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

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

1012
### Dependencies
1113

sentry-android-core/src/main/java/io/sentry/android/core/SentryUserFeedbackButton.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,33 @@
1010
import org.jetbrains.annotations.NotNull;
1111
import org.jetbrains.annotations.Nullable;
1212

13+
/**
14+
* @deprecated `SentryUserFeedbackButton` will be removed in the next major version
15+
*/
16+
@Deprecated
1317
public class SentryUserFeedbackButton extends Button {
1418

1519
private @Nullable OnClickListener delegate;
1620

21+
@Deprecated
1722
public SentryUserFeedbackButton(Context context) {
1823
super(context);
1924
init(context, null, 0, 0);
2025
}
2126

27+
@Deprecated
2228
public SentryUserFeedbackButton(Context context, AttributeSet attrs) {
2329
super(context, attrs);
2430
init(context, attrs, 0, 0);
2531
}
2632

33+
@Deprecated
2734
public SentryUserFeedbackButton(Context context, AttributeSet attrs, int defStyleAttr) {
2835
super(context, attrs, defStyleAttr);
2936
init(context, attrs, defStyleAttr, 0);
3037
}
3138

39+
@Deprecated
3240
public SentryUserFeedbackButton(
3341
Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
3442
super(context, attrs, defStyleAttr, defStyleRes);

0 commit comments

Comments
 (0)