-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Feature/fire button visited sites fix #332
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
Conversation
Requires a few tweaks along the way, mainly around nullability of variables
# Conflicts: # app/src/main/java/com/duckduckgo/app/browser/BrowserTabFragment.kt # build.gradle
brindy
left a comment
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.
Looks good! Couple of minor comments...
| companion object { | ||
| private const val KEY_RESTART_INTENTS = "KEY_RESTART_INTENTS" | ||
|
|
||
| fun triggerRebirth(context: Context) { |
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.
sounds messy :) how about triggerRestart ?
| configureDependencyInjection() | ||
|
|
||
| if(appIsRestarting()) return | ||
|
|
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.
format?
|
|
||
|
|
||
| abstract class LottieAnimationListener : Animator.AnimatorListener { | ||
|
|
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.
Can be deleted if you use https://developer.android.com/reference/android/animation/AnimatorListenerAdapter
| if (savedInstanceState == null) { | ||
|
|
||
| fireAnimationView.addAnimatorListener(object : LottieAnimationListener() { | ||
| override fun onAnimationStart(p0: Animator?) { |
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.
Task/Issue URL: https://app.asana.com/0/72649045549333/749739069164807
Tech Design URL:
CC:
Description:
Workaround for the
WebViewbug where visited links were rendered a different colour, even after the history was cleared.WebViewbug report: https://bugs.chromium.org/p/chromium/issues/detail?id=709627Steps to test this PR:
Repeat the steps above, but with some tougher scenarios for the FireActivity; rotate it, hit the home and return to the app etc...
Internal references:
Software Engineering Expectations
Technical Design Template