fe3c163a20
This cleans up how we're displaying account state in the main preference UI. Before when it worked, it worked mostly accidentally. 'launch' wrapper around "update ui" methods would trigger a race condition between binding the account pref view holder and actually updating that view with values. Sometimes the "update view with values" would happen after view was bound, and the UI will be correct. Most of the time it would happen before, and so there will be nothing to update and we'd get into an inconsistent state. This also splits up the "accountpreference" into two: account is good, and account needs re-auth. This greatly simplifies their management. |
5 years ago | |
---|---|---|
.github | 5 years ago | |
app | 5 years ago | |
architecture | 5 years ago | |
automation | 5 years ago | |
buildSrc | 5 years ago | |
certificates | 5 years ago | |
config | 5 years ago | |
docs | 5 years ago | |
gradle/wrapper | 5 years ago | |
.adjust_token | 5 years ago | |
.gitattributes | 5 years ago | |
.gitignore | 5 years ago | |
.taskcluster.yml | 5 years ago | |
CHANGELOG.md | 5 years ago | |
CODE_OF_CONDUCT.md | 5 years ago | |
LICENSE | 5 years ago | |
README.md | 5 years ago | |
build.gradle | 5 years ago | |
debug.keystore | 5 years ago | |
gradle.properties | 5 years ago | |
gradlew | 6 years ago | |
gradlew.bat | 6 years ago | |
l10n.toml | 5 years ago | |
settings.gradle | 5 years ago |
README.md
Firefox Fenix
Firefox Fenix is a new browser for Android
Getting Involved
We encourage you to participate in this open source project. We love Pull Requests, Bug Reports, ideas, (security) code reviews or any other kind of positive contribution.
Before you attempt to make a contribution please read the Community Participation Guidelines.
-
Guide to Contributing (New contributors start here!)
-
View current Issues, view current Pull Requests, or [file a security issue][sec issue].
-
IRC: #focus (irc.mozilla.org) | view logs (We're available Monday-Friday, GMT and PST working hours).
Beginners! - Watch out for Issues with the "Good First Issue" label. These are easy bugs that have been left for first timers to have a go, get involved and make a positive contribution to the project!
Build Instructions
- Clone or Download the repository:
git clone https://github.com/mozilla-mobile/fenix
- Import the project into Android Studio or build on the command line:
./gradlew clean app:assembleArmDebug
- Make sure to select the correct build variant in Android Studio: armDebug for ARM x86Debug for X86
Pre-push hooks
To reduce review turn-around time, we'd like all pushes to run tests locally. We'd
recommend you use our provided pre-push hook in config/pre-push-recommended.sh
.
Using this hook will guarantee your hook gets updated as the repository changes.
This hook tries to run as much as possible without taking too much time.
To add it on Mac/Linux, run this command from the project root:
ln -s ../../config/pre-push-recommended.sh .git/hooks/pre-push
or for Windows run this command with administrative priveleges:
mklink /d .git\hooks\pre-push ..\..\config\pre-push-recommended.sh
To push without running the pre-push hook (e.g. doc updates):
git push <remote> --no-verify
License
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/