Merge "VPN: cancel always-on notification with new id" into oc-dev
am: 4286c5768d
Change-Id: I97138fb1b0418a74de0ea41c191f6b9968ab947c
This commit is contained in:
@@ -1313,7 +1313,7 @@ public class Vpn {
|
|||||||
try {
|
try {
|
||||||
final NotificationManager notificationManager = NotificationManager.from(mContext);
|
final NotificationManager notificationManager = NotificationManager.from(mContext);
|
||||||
if (!visible) {
|
if (!visible) {
|
||||||
notificationManager.cancelAsUser(TAG, 0, user);
|
notificationManager.cancelAsUser(TAG, SystemMessage.NOTE_VPN_DISCONNECTED, user);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
final Intent intent = new Intent(Settings.ACTION_VPN_SETTINGS);
|
final Intent intent = new Intent(Settings.ACTION_VPN_SETTINGS);
|
||||||
|
|||||||
Reference in New Issue
Block a user