Skip to content

fix(feedback): Do not redefine system resources #4519

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

Merged
merged 3 commits into from
Jun 25, 2025
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
Next Next commit
fix(feedback-widget): Do not redefine system resources
  • Loading branch information
romtsn committed Jun 25, 2025
commit e5ca8866d9f09b9a9778f950fc456419eda90f03
15 changes: 8 additions & 7 deletions sentry-android-core/src/main/res/values/attrs.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- We have to omit 'format' here as we're referencing the system attributes from the '@android:' namespace -->
<declare-styleable name="SentryUserFeedbackButton" >
<attr name="android:drawableStart" format="reference" />
<attr name="android:drawablePadding" format="dimension" />
<attr name="android:padding" format="dimension" />
<attr name="android:textAllCaps" format="boolean" />
<attr name="android:background" format="reference|color" />
<attr name="android:textColor" format="reference|color" />
<attr name="android:text" format="string" />
<attr name="android:drawableStart" />
<attr name="android:drawablePadding" />
<attr name="android:padding" />
<attr name="android:textAllCaps" />
<attr name="android:background" />
<attr name="android:textColor" />
<attr name="android:text" />
</declare-styleable>
</resources>
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Just a dummy styleable to verify resource merging -->
<declare-styleable name="DummyStyle" >
<attr name="android:drawableStart" format="reference" />
<attr name="android:drawablePadding" format="dimension" />
<attr name="android:padding" format="dimension" />
<attr name="android:textAllCaps" format="boolean" />
<attr name="android:background" format="reference|color" />
<attr name="android:textColor" format="reference|color" />
<attr name="android:text" format="string" />
</declare-styleable>

<bool tools:ignore="UnusedResources" name="leak_canary_allow_in_non_debuggable_build">true</bool>
</resources>
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy