-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Issue #22489: Remove "Fennec to Fenix" migration code #23651
Conversation
@grigoryk @csadilek @jonalmeida Let's figure out what we need to do to finally remove this, but feel free to take over. |
@gabrielluong all that's left is review and land. we have sign-off to land when ready. |
Based on #22507 (comment), I imagine we also want to test thoroughly, but I am not quite sure what I should be looking for. I leave this up to yall, let's get this done! |
This pull request has conflicts when rebasing. Could you fix it @gabrielluong? 🙏 |
990faaf
to
19181fa
Compare
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.
Just looking through the changes, it all looks fine at first glance. I think we mostly just need to make ensure that nothing odd happens w/ things such as shortcuts, PWAs, search widget, etc.
What kind of local testing did you do for this?
To get started, I'm going to try the following cases locally:
- verify that home screen shortcuts, installed PWA, search widget continue to work (when installed from fenix, and when installed from fennec and then migrated)
- install fennec release variant, upgrade to fenix (w/ migration code in place), upgrade to fenix (w/o migration code)
- do the same for other channels (beta, nightly, i think that's it?)
::dismissTip | ||
) | ||
) | ||
emptyList() |
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.
You should just do tip = null
, or omit tip
entirely since it's defined as val tip: Tip? = null
. getTip
will just return null
here.
::dismissTip | ||
) | ||
) | ||
emptyList() |
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.
Same as above, omit tip
or set it to null
.
19181fa
to
24d6ac7
Compare
19181fa
to
5b85943
Compare
This pull request has conflicts when rebasing. Could you fix it @gabrielluong? 🙏 |
5b85943
to
6dc11cc
Compare
This pull request has conflicts when rebasing. Could you fix it @gabrielluong? 🙏 |
6dc11cc
to
7712e1e
Compare
This pull request has conflicts when rebasing. Could you fix it @gabrielluong? 🙏 |
27e8dfe
to
a85ff7f
Compare
This pull request has conflicts when rebasing. Could you fix it @gabrielluong? 🙏 |
5c636df
to
7712e1e
Compare
This pull request has conflicts when rebasing. Could you fix it @gabrielluong? 🙏 |
5c636df
to
b73b654
Compare
7712e1e
to
b73b654
Compare
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.
👍 🚢
@@ -177,14 +177,6 @@ android { | |||
androidTest { | |||
resources.srcDirs += ['src/androidTest/resources'] | |||
} | |||
beta { | |||
java.srcDirs = ['src/migration/java'] | |||
manifest.srcFile "src/migration/AndroidManifest.xml" |
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.
Without these overrides, we'll end-up using the standard build variant manifest you've added, e.g. app/app/src/beta/AndroidManifest.xml
, right? (which will be merged w/ the main manifest file)
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.
Yes
b73b654
to
f26795c
Compare
f26795c
to
126ce85
Compare
Fixes #22489. This is a rebase of #22507 mainly to address any conflicts and bump strings removedIn version.
Pull Request checklist
To download an APK when reviewing a PR: