OSDN Git Service

Show notification for always-on app VPN
authorTony Mak <tonymak@google.com>
Thu, 30 Jun 2016 10:19:20 +0000 (11:19 +0100)
committerRobin Lee <rgl@google.com>
Thu, 6 Oct 2016 19:58:04 +0000 (19:58 +0000)
commit1a405fe300950d6ceae2166fd074b596d8110dbe
treec19e468887fa4b30ef44378105710c181c697cf7
parentc37e88100d5ed7a0d6197660b14587d5df68d888
Show notification for always-on app VPN

This is the same notification as the one shown during legacy lockdown
mode, sans the 'reset' button.

The notification is only shown during times when VPN has not yet
established or has failed, for example during boot or after a crash.

Bug: 29123115
Change-Id: If0e2eb4f8fb220a21d6d462363a05869e27c7b6e
services/core/java/com/android/server/connectivity/Vpn.java
services/tests/servicestests/src/com/android/server/connectivity/VpnTest.java