notification fixed
This commit is contained in:
1 parent
4718a5912a
commit
6d8a923475
4 files changed
+5
-4
No files matched your search
+2
-1
@@ -655,7 +655,8 @@ class XrayVPNService : VpnService() {
|
||||
android.app.Notification.Builder(this)
|
||||
}
|
||||
|
||||
val icon = android.R.drawable.ic_dialog_info
|
||||
val icon = resources.getIdentifier("notification_icon", "drawable", packageName)
|
||||
.takeIf { it != 0 } ?: android.R.drawable.ic_dialog_info
|
||||
|
||||
val notification = builder
|
||||
.setContentTitle("VPN Service")
|
||||
|
||||
Reference in new issue
Block a user