diff options
author | Jayachandran C <jayachandranc@google.com> | 2017-05-17 23:53:59 -0700 |
---|---|---|
committer | Jayachandran C <jayachandranc@google.com> | 2017-05-23 14:02:46 -0700 |
commit | 58059820275c3a347a48e5e8179bdbc839f9d774 (patch) | |
tree | a84258e1a1966872a24c36c394b6f703b12ea0be /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 65d3a457d2152a431d158352257e3c846fc8a367 (diff) |
Fix up upstream interface types for case DUN_UNSPECIFIED
The existing logic will add TYPE_MOBILE and TYPE_MOBILE_HIPRI
even if the carrier config has TYPE_DUN for DUN_UNSPECIFIED.
A check is added not to modify the upstream interface types
if there is already a cellular interface type. Add TYPE_MOBILE
and TYPE_MOBILE_HIPRI if there is no cellular types found.
Test: Hotspot on Verizon and T-Mobile US.
Verified the requestNetwork has the DUN capability.
Bug: 38186915
Change-Id: I74fc5c791fee2885bf66df8975e92c2b48f1668c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions