You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c48b14f
Browse filesBrowse the repository at this point in the historyBrowse files
ref(feedback): Extend Dialog instead of AlertDialog in SentryUserFeedbackForm (#6338)
* ref(feedback): Extend Dialog instead of AlertDialog in SentryUserFeedbackForm
The form never used AlertDialog's title, message, buttons or custom
view; it replaces the content with its own layout in onCreate.
Dialog falls back to dialogTheme for theme 0, while AlertDialog uses
alertDialogTheme, so the form now resolves alertDialogTheme itself to
keep the default look unchanged. The FLAG_ALT_FOCUSABLE_IM workaround
goes away because only AlertDialog set that flag.
Resolves JAVA-494
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* changelog
* changelog
* fix(feedback): Request no window title in SentryUserFeedbackForm
AlertDialog always requested FEATURE_NO_TITLE because it draws its own
title. Plain Dialog does not, so themes that don't set windowNoTitle,
like Theme.Material.Dialog, added an empty system title bar above the
form's own title.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,8 @@
48
48
- Remove the deprecated `Instrumenter` enum, option, span context property, and `startChild` overloads ([#6252](https://github.com/getsentry/sentry-java/pull/6252))
49
49
- Remove deprecated OpenTelemetry integration classes and the legacy `SentrySpanStorage` ([#6243](https://github.com/getsentry/sentry-java/pull/6243))
50
50
- Decide whether foregrounding the app starts a new session on a monotonic clock instead of the wall clock, so that a device time change no longer starts a session that should have been resumed, or resumes one that should have ended. This affects session counts ([#6096](https://github.com/getsentry/sentry-java/pull/6096))
51
+
- `SentryUserFeedbackForm` now extends `android.app.Dialog` instead of `android.app.AlertDialog` ([#6338](https://github.com/getsentry/sentry-java/pull/6338))
52
+
- The form never used `AlertDialog` features. Code that calls `AlertDialog`-only methods on it, such as `setButton` or `setMessage`, no longer compiles.
0 commit comments