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)
committerLorenzo Colitti <lorenzo@google.com>
Thu, 26 Jan 2017 09:52:35 +0000 (18:52 +0900)
commit094fbe671927b730a30f4914ddc08f997ffc0114
tree318692115f5fd248607817fe5af4e23fa88b8753
parent48a1136c8b3000c651e8bcd86325acd1dce6e4ec
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

(cherry picked from commit 1a405fe300950d6ceae2166fd074b596d8110dbe)

Change-Id: I929a05c24df01e21415535a333bb14ac4b790a9d
services/core/java/com/android/server/connectivity/Vpn.java
tests/net/java/com/android/server/connectivity/VpnTest.java