Merge "Don't buzz when automatically connecting to captive portals" into mnc-dr-dev

This commit is contained in:
Lorenzo Colitti
2015-10-21 01:10:10 +00:00
committed by Android (Google) Code Review

View File

@@ -3363,7 +3363,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
.setPriority(highPriority ?
Notification.PRIORITY_HIGH :
Notification.PRIORITY_DEFAULT)
.setDefaults(Notification.DEFAULT_ALL)
.setDefaults(highPriority ? Notification.DEFAULT_ALL : 0)
.setOnlyAlertOnce(true)
.build();