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