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
fix R8 rules to avoid crash when downloading Emoji Font #1312
Conversation
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.
And that bug with autodispose does not occur anymore? Should be okay then.
@@ -94,9 +94,10 @@ | |||
|
|||
-dontwarn com.google.errorprone.annotations.* | |||
|
|||
# work around a bug in proguard | |||
# see https://sourceforge.net/p/proguard/bugs/729/ | |||
-keepnames public interface com.uber.autodispose.lifecycle.CorrespondingEventsFunction { *; } |
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.
This old rule can be removed as apparently R8 does not have this problem like ProGuard did
* 2019 Emoji Update (tuskyapp#1261) * Updated EmojiCompat support: - Fonts are now updatable - Old fonts will automatically be deleted - Noto Emoji is supported - New library version * It will now (hopefully) only look through the emoji font directory if it exists... * Added a noto emoji icon for Android <=6; Font files and their version relation are only loaded once now. * Small bugfix for the noto emoji icon * Changed the initial size of the existingFontFiles list to a constant value * Bugfixes Old files are now (really) deleted The latest version is used as the actuall font Further optimizations * Emoji font update triggers restart dialog * Resized the Noto icon; (Hopefully) fixed EmojiCompat (again) * Redesign report activity (tuskyapp#1295) * Report activity core * Implement navigation * Implement navigation * Update strings * Revert manifest formatting * Implement Done page * Add landscape layout * Implement Note fragment * Create component * Implement simple status adapter * Format code * Add date/time to report statuses * Refactor status view holder * Refactor code * Refactor ViewPager * Replace MaterialButton with Button * Remove unneeded string * Update Text and Check views style * Remove old ReportActivity and rename Report2Activity to ReportActivity * Hide "report to remote instance" checkbox for local accounts * Add account, hashtag and links click handler * Add media preview * Add sensitive content support * Add status expand/collapse support * Update adapter to user adapterPosition instead of stored status * Updated checked change handling * Add polls support to report screen * Add copyright * Set buttonTint at CheckBox * Exclude reblogs from statuses for reports * Change final page check mark size * Update report note screen * Fix typos * Remove unused params from api endpoint * Replace .visibility with show()/hide() * Replace Date().time with System.currentTime... * Add line spacing * Fix close button tint issue * Updated status adapter * fix r8 rules to avoid crash when downloading Emoji Font (tuskyapp#1312) * Fix after merge * Update Dagger & other deps (tuskyapp#1315) * update dagger * update remaining deps * Fix after merge * Fix after merge * Update Android injector, move chat to components * Version: 7.4.86
Seems R8 is optimizing away too much and the AsyncTask was missing methods. This also explains why it worked in a debug build.
cc @C1710