OSDN Git Service

DO NOT MERGE: 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>
Fri, 9 Dec 2016 05:23:10 +0000 (14:23 +0900)
commitde7f7d195eec64802b7b6eee819c699f1a7d6951
tree5e9250b11197e50e7340d7bcf2588f0443898d1e
parent963e8ddf6d5ea3bc34216fa03fe24402bf13940a
DO NOT MERGE: 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