diff options
author | Rambo Wang <rambowang@google.com> | 2020-05-08 14:50:21 -0700 |
---|---|---|
committer | Rambo Wang <rambowang@google.com> | 2020-05-09 00:32:30 +0000 |
commit | 8a41bbf466e78a63828ba03dde754f6879ad7e34 (patch) | |
tree | 1e818f8eccf25b0466a21fcc96f583b833ee9714 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c43997ba156baab6f7d107a3feca72557f80a353 (diff) |
LTE+ indicator not shown when attached to CA network
NetworkTypeController (or DcTracker in aosp/master) will set lte
display type to LTE_CA when current ServiceState fulfills one of the
following conditions:
- getDataNetworkType return NETWORK_TYPE_LTE_CA
- isUsingCarrierAggregation return true
NetworkRegistrationInfo#getAccessNetworkTechnology() always returns LTE
when data rat is LTE CA. So the first condition will never get
fulfilled.
isUsingCarrierAggregation flag will only get updated when
ServiceStateTracker calls RatRatcheter.ratchet without location change.
This makes isUsingCarrierAggregation flag not always reliable to
determine if carrier aggregation is on.
The CL fix the issue by changing ServiceState#isUsingCarrierAggregation
to return true when ServiceState#getCellBandwidths return more than one.
The same condition is already used by RatRatcheter when set
isUsingCarrierAggregation flag in RatRatcheter#ratchet.
Bug: 154060784
Test: atest com.android.internal.telephony.ServiceStateTest
Test: atest android.telephony.cts.ServiceStateTest
Change-Id: Ie6c07cb58d2a40eeb10e8f0131c98212ba463517
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions