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

Skip to content
Commit 57684f68 authored by Malcolm Chen's avatar Malcolm Chen
Browse files

Don't apply Internet network request specified on non-default sub.

Cellular network requests may specify a subscription ID. However
if the requests is asking for Internet capability, network factory
should ignore it if it's not targeted on preferred data phone.

In implementation, TelephonyNetworkFactory is refactored so that
it queries a PhoneSwitcher API on every network request to decide
whether it should be applied or not. This way PhoneSwitcher has
better control of distrubuting network requests more flexibly.

Bug: 121094781
Test: unittest
Change-Id: I49f8702b19c0bd0f559cf9a97b3d0fa41f6f7222
Merged-In: I49f8702b19c0bd0f559cf9a97b3d0fa41f6f7222
parent cb37406a
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