So this is an implementation detail which probably should have been
shared earlier...

Ofono defines the various modes as "only-use-this-mode", which doesn't
really match Android's model which is pick the fastest mode my phone
should use, but use slower modes if they're all that's available.

As such we treat the ofono constants in the following manner ( again
this is contrary to the stock ofono API documentation ):

"lte"    - use LTE|WCDMA|GSM ( 4G | 3G | 2G )
"gsm"  - use GSM ( 2G )
"umts" - use WCDMA ( aka UMTS aka 3G )
"any"    - same as "lte"

Now in your case, since none of our phones implement LTE, when you set
the mode that accepts LTE+WCDMA+GSM, the modem instead sets what it can
support which is WCDMA+GSM.

When you retrieve the preferred radio tech setting, our code will never
return type="any", it will always return one of the modes mentioned
above.


** Changed in: ofono (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1334802

Title:
  ofono tech pref 'any' does not persist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1334802/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to