Closed Bug 986119 Opened 10 years ago Closed 10 years ago

[meta] Install distribution files based on SIM card data

Categories

(Firefox for Android Graveyard :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1013024

People

(Reporter: mfinkle, Unassigned)

Details

Attachments

(1 file)

Fennec is able to use distribution files to configure some behavior for partners. The distribution files can live in the /system folder or be extracted from the APK.

It would be useful to also support pulling distribution files from a Mozilla server based on the SIM card data. This would allow the standard Google Play version of Firefox to be installed on phones in a carrier/partner network, and then Firefox would look to see if partner-specific distribution files exist. If so, the files would be downloaded and used by Firefox.

I made this a meta bug assuming we'll need multiple dependent bugs:
* Add code to query the SIM card
* Add code to query and pull distribution files from Mozilla server
* Add server side support to host distribution files

NI'ing Brad to start on the SIM card work
Flags: needinfo?(blassey.bugs)
Attachment #8395720 - Flags: review?(mark.finkle)
Flags: needinfo?(blassey.bugs)
Comment on attachment 8395720 [details] [diff] [review]
SIM_MCC_MNC.patch

Review of attachment 8395720 [details] [diff] [review]:
-----------------------------------------------------------------

Drive-by.

::: mobile/android/base/GeckoNetworkManager.java
@@ +357,4 @@
>          return -1;
>      }
>  
> +    private static int getSimOperator(InfoType type) {

I assume the SimOperator doesn't change dynamically so maybe you could cache the results in static members?
Comment on attachment 8395720 [details] [diff] [review]
SIM_MCC_MNC.patch

We need to decide if this is the approach we want to take, or if we want to respond to some external trigger. I suppose we might need this code in either approach.

Brad - What are your thoughts on the need for this code if we use the OTA configuration ping?
We won't need this code for OMA CP since the push will only go from operator's network to operator's SIM
Comment on attachment 8395720 [details] [diff] [review]
SIM_MCC_MNC.patch

(In reply to Brad Lassey [:blassey] (use needinfo?) from comment #4)
> We won't need this code for OMA CP since the push will only go from
> operator's network to operator's SIM

So let's just keep the patch around, but not move on it yet. I think we all like the idea of only pulling a distribution when we are asked to and not all the time.

Brad - Next question: How do we interact with an OMA CP push?
Attachment #8395720 - Flags: review?(mark.finkle)
Flags: needinfo?(blassey.bugs)
This isn't helpful, but I just don't know. Will need to dig into it a bit.
Flags: needinfo?(blassey.bugs)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: