Closed
Bug 1207307
Opened 10 years ago
Closed 9 years ago
Remove MOZ_ANDROID_FIREFOX_ACCOUNT_PROFILES flag
Categories
(Firefox for Android Graveyard :: Android Sync, defect)
Firefox for Android Graveyard
Android Sync
Tracking
(firefox45 fixed)
RESOLVED
FIXED
Firefox 45
| Tracking | Status | |
|---|---|---|
| firefox45 | --- | fixed |
People
(Reporter: vivek, Assigned: martianwars, Mentored)
References
Details
User Story
This is the final task for fennec-avatar. Remove the flag and related code once the avatar is available in Fennec main branch.
Attachments
(1 file)
|
14.60 KB,
patch
|
vivek
:
review+
nalexander
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Reporter | ||
Updated•10 years ago
|
User Story: (updated)
| Reporter | ||
Comment 1•10 years ago
|
||
@Kalpesh,
This is another bug related to sync preferences.
Let me know if you are interested in this.
Now that profile preference is in Beta, we can start removing the flag [1].
Also, we can remove the code related to emailPreference from FxAccountStatusFragment and the relevant preference declaration in xml [2],[3].
To summarize,
* remove the MOZ_ANDROID_FIREFOX_ACCOUNT_PROFILES from [1].
* remove emailPreference while retaining profilePreference in [2]
* remove email preference declaration from [3]
[1] http://mxr.mozilla.org/mozilla-central/search?string=MOZ_ANDROID_FIREFOX_ACCOUNT_PROFILES&find=&findi=&filter=^[^\0]*%24&hitlimit=&tree=mozilla-central
[2] http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/fxa/activities/FxAccountStatusFragment.java#170
[3] http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/resources/xml/fxaccount_status_prefscreen.xml#14
Flags: needinfo?(kalpeshk2011)
| Assignee | ||
Comment 2•10 years ago
|
||
@vivek :- I need to remove all the occurrences of the AppConstant? What will I put in place of that?
Flags: needinfo?(kalpeshk2011) → needinfo?(vivekb.balakrishnan)
| Reporter | ||
Comment 3•10 years ago
|
||
@Kalpesh,
You need to remove all occurrences of AppConstants.MOZ_ANDROID_FIREFOX_ACCOUNT_PROFILES. It is usually used as Boolean condition. Retain the code snippet that is executed when the flag is true. You can throw away the code snippet in false branch.
Also, note that AppConstants.java is generated during build process from AppConstants.java.in [1]
Please let me know if this was not clear.
[1] http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/AppConstants.java.in#202
Flags: needinfo?(vivekb.balakrishnan)
| Assignee | ||
Comment 4•10 years ago
|
||
@vivek :- alright, I'll work on this one :)
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → kalpeshk2011
| Assignee | ||
Comment 5•10 years ago
|
||
I hope it removes all occurrences of the AppConstant.
Attachment #8682395 -
Flags: review?(vivekb.balakrishnan)
| Reporter | ||
Comment 6•10 years ago
|
||
Comment on attachment 8682395 [details] [diff] [review]
removeAppConstant.patch
Review of attachment 8682395 [details] [diff] [review]:
-----------------------------------------------------------------
Kalpesh,
thanks, this patch removes all occurrences of MOZ_ANDROID_FIREFOX_ACCOUNT_PROFILES flag.
I'll update the review flag after I test this patch.
| Reporter | ||
Comment 7•10 years ago
|
||
Comment on attachment 8682395 [details] [diff] [review]
removeAppConstant.patch
Review of attachment 8682395 [details] [diff] [review]:
-----------------------------------------------------------------
Tested it. LGTM
Attachment #8682395 -
Flags: review?(vivekb.balakrishnan)
Attachment #8682395 -
Flags: review?(nalexander)
Attachment #8682395 -
Flags: review+
| Assignee | ||
Comment 8•10 years ago
|
||
Alright that's excellent :)
Comment 9•10 years ago
|
||
Comment on attachment 8682395 [details] [diff] [review]
removeAppConstant.patch
Review of attachment 8682395 [details] [diff] [review]:
-----------------------------------------------------------------
Good work!
Attachment #8682395 -
Flags: review?(nalexander) → review+
| Assignee | ||
Comment 11•9 years ago
|
||
@vivek, What could I work on next?
Flags: needinfo?(vivekb.balakrishnan)
Comment 12•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/0159a6e6438e916708c988fc96b02225c7974ffc
Bug 1207307 - Remove MOZ_ANDROID_FIREFOX_ACCOUNT_PROFILES flag. r=vivek,nalexander
Comment 13•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 45
Comment 15•9 years ago
|
||
(In reply to Kalpesh Krishna [:martianwars] from comment #10)
> Should I add the checkin needed?
I landed this for you, so no need.
Flags: needinfo?(nalexander)
Updated•8 years ago
|
Product: Android Background Services → Firefox for Android
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•