mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 00:37:47 +00:00
Use a unique notification icon for the persistent background connection.
This commit is contained in:
parent
53050b3845
commit
dfe8b25dd7
BIN
res/drawable-hdpi/ic_signal_background_connection.png
Normal file
BIN
res/drawable-hdpi/ic_signal_background_connection.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
BIN
res/drawable-mdpi/ic_signal_background_connection.png
Normal file
BIN
res/drawable-mdpi/ic_signal_background_connection.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
res/drawable-xhdpi/ic_signal_background_connection.png
Normal file
BIN
res/drawable-xhdpi/ic_signal_background_connection.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.8 KiB |
BIN
res/drawable-xxhdpi/ic_signal_background_connection.png
Normal file
BIN
res/drawable-xxhdpi/ic_signal_background_connection.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.7 KiB |
BIN
res/drawable-xxxhdpi/ic_signal_background_connection.png
Normal file
BIN
res/drawable-xxxhdpi/ic_signal_background_connection.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.6 KiB |
@ -193,7 +193,7 @@ public class IncomingMessageObserver implements InjectableType, RequirementListe
|
||||
builder.setContentText(getApplicationContext().getString(R.string.MessageRetrievalService_background_connection_enabled));
|
||||
builder.setPriority(NotificationCompat.PRIORITY_MIN);
|
||||
builder.setWhen(0);
|
||||
builder.setSmallIcon(R.drawable.ic_signal_grey_24dp);
|
||||
builder.setSmallIcon(R.drawable.ic_signal_background_connection);
|
||||
startForeground(FOREGROUND_ID, builder.build());
|
||||
|
||||
return Service.START_STICKY;
|
||||
|
Loading…
x
Reference in New Issue
Block a user