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

Skip to content
Commit 1559a6e2 authored by Jack Yu's avatar Jack Yu
Browse files

Fixed incorrect 5G icon

The incorrect 5G icon was trigerred by the incorrect
data activity state in telephony. The telephony data activity
is derived from TrafficStats, not directly from the unsolicited
data call status event from modem. The excessive and frequent
polling requests from telephony resulted in no-delta traffic
between the pollings, which makes network type controller think
the device enters RRC idle state.

The fix is not touching the existing data activity algorithm, but
making network type controller directly use the data activity
signal from the modem.

The data activity signal from the modem reflects the RRC state
of the device. In S, we should derive the RRC state directly from
PhysicalChannelConfig, because data connection activity and RRC
state are different layer concepts.

Fix: 157610910
Test: NetworkTypeControllerTest
Change-Id: I53c010608dd8796003b33f8ba0f4249108aecee2
parent a44841ea
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