diff options
author | Pavan Kumar M <rpavan@codeaurora.org> | 2020-07-27 18:09:31 +0530 |
---|---|---|
committer | Pavan Kumar M <rpavan@codeaurora.org> | 2020-07-28 12:41:10 +0000 |
commit | d78a2f44f1ac52a991866a49254a9cb054400e17 (patch) | |
tree | 5b8b86909d14dad38894c9671c312499e8c4eea4 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 4d0f936328e722e13dfa680fa0afb160dc903c10 (diff) |
Clear linger timers on non DDS networks
Linger Timers for a network are per Network Request. In scenarios where
WiFi replaces the default cellular network, cellular network on dds sub
is lingered for 30 sec on default Network Request. If there is a temp
dds triggered during the 30 sec duration, cellular network on new dds
replaces the BG Network Request and cellular network on old dds sub is
lingered for 5 sec on BG request.
During the linger timer update, maximum value of all timers is selected
and a timer is started for it. So the network on older dds continues to
linger for more than 5 sec.
This fix handles the issue by clearing the timers on non dds network if
the existing timer is greater than the linger time set after DDS is
triggered.
Tests: DDS / Temp DDS related scenarios.
Change-Id: I1a55e30d17e6e134ade9569e8efefd290c7e8a64
CRs-Fixed: 2742547
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions