Skip to content

Commit 50fe709

Browse files
author
Chia-chi Yeh
committed
VPN: silence VPN notifications.
Bug: 5852859 Change-Id: I269d8de298a1fd69a8d777150ae97927537a5424
1 parent c15cf3d commit 50fe709

File tree

1 file changed

+1
-1
lines changed
  • services/java/com/android/server/connectivity

1 file changed

+1
-1
lines changed

services/java/com/android/server/connectivity/Vpn.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ private void showNotification(VpnConfig config, String label, Bitmap icon) {
322322
.setContentTitle(title)
323323
.setContentText(text)
324324
.setContentIntent(VpnConfig.getIntentForStatusPanel(mContext, config))
325-
.setDefaults(Notification.DEFAULT_ALL)
325+
.setDefaults(0)
326326
.setOngoing(true)
327327
.getNotification();
328328
nm.notify(R.drawable.vpn_connected, notification);

0 commit comments

Comments
 (0)