Android N: bundle access attempt notifications

This commit is contained in:
M66B 2016-03-28 14:31:59 +02:00
parent b9300f91e1
commit faf873efdd
1 changed files with 1 additions and 0 deletions

View File

@ -2026,6 +2026,7 @@ public class ServiceSinkhole extends VpnService implements SharedPreferences.OnS
NotificationCompat.Builder builder = new NotificationCompat.Builder(this)
.setSmallIcon(R.drawable.ic_cloud_upload_white_24dp)
.setGroup("AccessAttempt")
.setContentTitle(getString(R.string.app_name))
.setContentText(getString(R.string.msg_access, name))
.setContentIntent(pi)