-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Migrate to non-transitive R classes #10077
Migrate to non-transitive R classes #10077
Conversation
8f91e86
to
ddc6634
Compare
SonarCloud Quality Gate failed. |
The SonarCloud warnings are due to the app using private ExoPlayer strings. |
ddc6634
to
097d32b
Compare
Thank you, I rebased the change onto current |
Quality Gate passedIssues Measures |
How did you choose the replacements? To me they all seem random. For example, why |
@@ -54,7 +54,11 @@ class ErrorUtil { | |||
*/ | |||
@JvmStatic | |||
fun showSnackbar(context: Context, errorInfo: ErrorInfo) { | |||
val rootView = if (context is Activity) context.findViewById<View>(R.id.content) else null | |||
val rootView = if (context is Activity) { | |||
context.findViewById<View>(androidx.constraintlayout.widget.R.id.content) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For example, this is wrong, and should instead be android.R.id.content
.
Replaced by #10918 for the reasons stated above. @Isira-Seneviratne please review/approve #10918, thanks :-). |
What is it?
Description of the changes in your PR
APK testing
The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR.
Due diligence