android_packages_modules_Co.../tests/net/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hugo Benichi 1fc19b9823 NetworkNotificationManager: correctly handle existing notifications
This patch corrects a regression added by commit fd35080555 that did
not take into account the case of multiple notifications shown for a
single network id. Given how network notifications are triggered, it can
happen that NO_INTERNET and SIGN_IN notifications are both triggered for
the same network when captive portal detection is slow.

Contrary to the situation before commit fd35080555, a notification
priority order is introduced so that SIGN_IN always overrides
NO_INTERNET, and NO_INTERNET is ignored if SIGN_IN is already present.

Bug: 63676954
Bug: 62503737
Test: runtest frameworks-net, added new unit tests
Change-Id: Ib8658601e8d4dc6c41b335ab7dd8caa0cccd9531
2017-07-27 21:20:20 +09:00
..
connectivity NetworkNotificationManager: correctly handle existing notifications 2017-07-27 21:20:20 +09:00
net Networking unit tests: fix some flaky tests 2017-07-03 16:29:01 +09:00
ConnectivityServiceTest.java ConnectivityServiceTest: fix testNetworkInfoOfTypeNone 2017-07-19 15:08:49 +09:00
IpSecServiceTest.java Add unit test for IpSecService 2017-07-20 04:26:24 +00:00
NsdServiceTest.java Move NsdServiceTest to correct directory 2017-05-24 14:18:48 +09:00