Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 33acc52d authored by Mengjun Leng's avatar Mengjun Leng Committed by Arne Coucheron
Browse files

Use a config to enable MMS when mobile data is off

Some operators require that an MMS be allowed even when data
is turned off. Introduce a config to determine if MMS should
be allowed. By default this config is set to false.

Change-Id: Ic90dbac6084e62338cb46d1caf881a0ecc4b674b

Cleanup connections for APNs that are not connected

- After disabling a network, ConnectivityService tears down
  the data connection
- However, for APNs that are in Connecting, Failed or Retry
  state, ConnectivityService will not do that because the NetworkAgent
  is created only when a DataConnection goes into Active State.
  Take care of this case by explicitly tearing down the data connection

Change-Id: I87f286cb8b5fe5c6a33e8c5cf53da7bca8d7aa2b

DCT: Tear down MMS+default connections raised by config_enable_mms_with_mobile_data_off

If the tracker lets an MMS connection go through even if data is off, make sure
it's torn down once the disabled state gets applied. More often than not, APNs
configured as MMS+data would remain alive, and the tracker's state machine would
get stuck out of sync

Change-Id: Ia13e9ff5beea44ecfda40a4910990dab53af25dd
parent 2475dfef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment