History log of /frameworks/base/services/core/java/com/android/server/connectivity/LingerMonitor.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
84e6f1232c92988617a1155fd7356f90e6c84b4e 29-Aug-2016 Lorenzo Colitti <lorenzo@google.com> Network switch notifications: rate & daily limits

This patch adds a daily limit to the maximum number of notifications
shown when switching networks.

It also adds a rate limit to prevent rapid successive notifications in
flapping scenarios.

Bug: 31132499
Change-Id: Iccb6d0899646ea6df3cfad32a421922263e0eb85
/frameworks/base/services/core/java/com/android/server/connectivity/LingerMonitor.java
a43a095106ae71842574115ed69fed2171b4c48c 30-Aug-2016 Hugo Benichi <hugobenichi@google.com> Network Switching Notifications: add unit tests

BUG: 31132499
Change-Id: I9c50a59fe48efdcb51d2517f0a756691700c3ebe
/frameworks/base/services/core/java/com/android/server/connectivity/LingerMonitor.java
c2e10bb0741446bb222809658a81cbe49dfa89fb 29-Aug-2016 Lorenzo Colitti <lorenzo@google.com> Don't notify on network switch if source network is validated.

Sometimes we switch away from a network to another (e.g., wifi to
cell data) not because the old network is unvalidated, but
because the score is lowered by a low signal strength.

In this case, don't notify the user of a network switch.

Bug: 31132499
Change-Id: I996a6e00096f8cb864fa9b00b36921725a4edb53
/frameworks/base/services/core/java/com/android/server/connectivity/LingerMonitor.java
5526f9c78c6fcad500c272ef14b7403e3395525e 22-Aug-2016 Lorenzo Colitti <lorenzo@google.com> Support notifying network switches via notifications and toasts.

Bug: 31025214
Change-Id: If1578f422f38a1dcfaec529882aed01ae5e8d53c
/frameworks/base/services/core/java/com/android/server/connectivity/LingerMonitor.java