mirror of
https://github.com/M66B/NetGuard.git
synced 2025-02-22 06:10:56 +00:00
parent
7c57d3a52c
commit
832130bdbf
6 changed files with 4 additions and 4 deletions
|
@ -368,13 +368,13 @@ public class SinkholeService extends VpnService {
|
|||
PendingIntent piMain = PendingIntent.getActivity(this, 0, riMain, PendingIntent.FLAG_CANCEL_CURRENT);
|
||||
|
||||
NotificationCompat.Builder notification = new NotificationCompat.Builder(this)
|
||||
.setSmallIcon(R.mipmap.ic_launcher)
|
||||
.setSmallIcon(R.drawable.ic_security_white_24dp)
|
||||
.setContentTitle(getString(R.string.app_name))
|
||||
.setContentText(getString(R.string.msg_started))
|
||||
.setContentIntent(piMain)
|
||||
.setCategory(Notification.CATEGORY_STATUS)
|
||||
.setVisibility(Notification.VISIBILITY_SECRET)
|
||||
.setColor(ContextCompat.getColor(this, R.color.colorAccent));
|
||||
.setColor(ContextCompat.getColor(this, R.color.colorPrimary));
|
||||
|
||||
Intent intent = new Intent(this, SinkholeService.class);
|
||||
intent.putExtra(EXTRA_COMMAND, Command.stop);
|
||||
|
@ -390,7 +390,7 @@ public class SinkholeService extends VpnService {
|
|||
PendingIntent piMain = PendingIntent.getActivity(this, 0, riMain, PendingIntent.FLAG_CANCEL_CURRENT);
|
||||
|
||||
NotificationCompat.Builder notification = new NotificationCompat.Builder(this)
|
||||
.setSmallIcon(R.mipmap.ic_launcher)
|
||||
.setSmallIcon(R.drawable.ic_security_white_24dp)
|
||||
.setContentTitle(getString(R.string.app_name))
|
||||
.setContentText(getString(R.string.msg_stopped))
|
||||
.setContentIntent(piMain)
|
||||
|
@ -417,7 +417,7 @@ public class SinkholeService extends VpnService {
|
|||
PendingIntent piMain = PendingIntent.getActivity(this, 0, riMain, PendingIntent.FLAG_CANCEL_CURRENT);
|
||||
|
||||
NotificationCompat.Builder notification = new NotificationCompat.Builder(this)
|
||||
.setSmallIcon(R.mipmap.ic_launcher)
|
||||
.setSmallIcon(R.drawable.ic_security_white_24dp)
|
||||
.setContentTitle(getString(R.string.app_name))
|
||||
.setContentText(getString(R.string.msg_revoked))
|
||||
.setContentIntent(piMain)
|
||||
|
|
BIN
app/src/main/res/drawable-hdpi/ic_security_white_24dp.png
Normal file
BIN
app/src/main/res/drawable-hdpi/ic_security_white_24dp.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 428 B |
BIN
app/src/main/res/drawable-mdpi/ic_security_white_24dp.png
Normal file
BIN
app/src/main/res/drawable-mdpi/ic_security_white_24dp.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 288 B |
BIN
app/src/main/res/drawable-xhdpi/ic_security_white_24dp.png
Normal file
BIN
app/src/main/res/drawable-xhdpi/ic_security_white_24dp.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 507 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_security_white_24dp.png
Normal file
BIN
app/src/main/res/drawable-xxhdpi/ic_security_white_24dp.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 702 B |
BIN
app/src/main/res/drawable-xxxhdpi/ic_security_white_24dp.png
Normal file
BIN
app/src/main/res/drawable-xxxhdpi/ic_security_white_24dp.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 913 B |
Loading…
Reference in a new issue