Make 'services' a separate Gradle project for Android Fennec



Android Background Services
Build & Test
2 years ago
4 months ago


(Reporter: nalexander, Unassigned)


(Depends on: 1 bug)

Firefox Tracking Flags

(Not tracked)




2 years ago
Bug 773050 made the services Java code compile separately.  This ticket tracks finishing the job and making the code really stand-alone, as a separate Gradle project.

There are few parts to this:
1) move the code into mobile/android/services/src;
2) make the code have package instead of org.mozilla.gecko;
3) extract the services resources into mobile/android/services/res.

I think 3) wants separate strings.xml for services.

For the final part 3), we might need the aid of a 'shared' Gradle project that contains the constants and some foundational resources (styles, etc).  I think we might do better to:

1) remove the Sync account type (Bug 1220906), and the code and resources that implement it;
2) remove the Firefox Account native UI (Bug 1220892), and the code and resources that implement it;
3) move the remaining Firefox Account UI (status activity) into org.mozilla.gecko.prefs.

It's a long road.


2 years ago
Depends on: 1229438


4 months ago
Depends on: 1375571
You need to log in before you can comment on or make changes to this bug.