mirror of
https://github.com/oxen-io/session-android.git
synced 2023-12-14 02:53:01 +01:00
Use a unique notification icon for the persistent background connection.
This commit is contained in:
parent
53050b3845
commit
dfe8b25dd7
6 changed files with 1 additions and 1 deletions
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 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…
Reference in a new issue