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

Skip to content
Commit 9bc30334 authored by junyulai's avatar junyulai
Browse files

Data activity didn't reflect UDP traffic

Currently, the DataActivity will use the same source with data
stall detection to count packet traffic, which is TCP only.
However, more and more modern applications uses UDP for
communication such as QUIC and streaming. And the data icon
arrows did not reflect the truth that packet is transmitting.
It should be more accurate that data icon arrows should count
all packet traffic.

Note that data stall detection remains the same for now since
we don't want to break functionality for below cases:
1. Out-going UDP packets trigger false positive, such as live
   broadcast apps or b/7903145
2. Incoming local communications cause false negative, such as
   IPv6 Neighbor Discovery messages between modem & AP.

Bug: 110773754
Test: 1. play youtube and see data icon arrows in QuickSetting
      2. enable updateDataActivity debug log and make sure it
         counts.
      2. runtest frameworks-net

Change-Id: Id2f763f396b329ab82af09bb5e084af7201f9d7c
parent 9f6ca62d
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