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

Skip to content
Commit c5079e3f authored by Leena Winterrowd's avatar Leena Winterrowd Committed by Steve Kondik
Browse files

stagefright: http: Skip invalid bandwidth measurements

Measurements of 0 bytes downloaded can skew bandwidth estimation.
If 0 bytes or an invalid delay are added as a measurement, do not
add it to the bandwidth history.

Allow bandwidth estimation with a single history entry since the
total delay is now guaranteed to be non-zero for any entry.

CRs-Fixed: 808563
Change-Id: Ib68122302176f892989e37ba26e9848f0f4113d0
parent ac84c278
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