summaryrefslogtreecommitdiff
path: root/tests/common/java/android/net/NetworkCapabilitiesTest.java
diff options
context:
space:
mode:
authorRemi NGUYEN VAN <reminv@google.com>2021-07-30 18:14:48 +0900
committerRemi NGUYEN VAN <reminv@google.com>2021-08-04 11:23:03 +0900
commit5dc6ca03186cf0fa3492c5d483488ab6725d04e2 (patch)
treea152e236c670a9e7b1bc26438575c9f032e624fc /tests/common/java/android/net/NetworkCapabilitiesTest.java
parent8ba4b12dff203dd1d86af2a4cfc239d44fa1c08e (diff)
Add overlay options for no internet notifications
Add an option to display the no internet dialog directly instead of showing a notification when the notification would have been high priority (typically when the network was explicitly selected). This is disabled by default, but allows device manufacturers to use a slightly more disruptive UX to ensure that the user is aware that the network has no connectivity, and can take action. Also add an option to show the same notification as "no internet" instead of the "partial connectivity" notification. This is also disabled by default, but allows device manufacturers to use the "no internet" text if they feel that "partial connectivity" text is hard to understand for the user. Bug: 193847396 Test: atest NetworkNotificationManagerTest Change-Id: Ib5bd74d8cf973bf70d373dd63648c178fae0ebae
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions