-
Notifications
You must be signed in to change notification settings - Fork 1.1k
"Fix the crash issue when loading the roman_semi_b.ttf font with ResourcesCompat.getFont" #752
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
base: androidx-main
Are you sure you want to change the base?
Conversation
…pCompatTextView when typeface or fontFamily is not set.
…pCompatTextView when typeface or fontFamily is not set.
…and 26" This reverts commit 09b8331.
…Build.VERSION_CODES.P)
@@ -50,7 +50,8 @@ androidXMultiplatform { | |||
sourceSets { | |||
commonMain { | |||
dependencies { | |||
api(project(":lifecycle:lifecycle-runtime")) | |||
// api(project(":lifecycle:lifecycle-runtime")) |
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.
unintended change?
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.
If I don't modify this line of code, I won't be able to run any unit test methods in TypefaceCompatTest, and it will give the following error.
Could not determine the dependencies of task ':core:core:compileReleaseAndroidTestJavaWithJavac'.
> Could not resolve all dependencies for configuration ':core:core:releaseAndroidTestCompileClasspath'.
> Could not select a variant of project :lifecycle:lifecycle-runtime that matches the consumer attributes.
> Could not find lifecycle-runtime.aar (project :lifecycle:lifecycle-runtime).
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
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.
I will revert it and resubmit.
thanks, i'm approving this to create the gerrit shadow so it can be reviewed by the owners. |
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.
approving to create the gerrit clone.
gerrit change: to address any future comments, you can still upload new PR versions and they'll be synced to that CL. |
Proposed Changes
Testing
Test: TypefaceCompatTest.testRomanSemiB()