1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-24 09:35:50 +01:00

add notification icon. This fixes #2

This commit is contained in:
Andreas Shimokawa 2015-02-24 12:36:38 +01:00
parent df8c290442
commit e0c146bde9
5 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ public class BluetoothCommunicationService extends Service {
.setContentTitle("Gadgetbridge")
.setTicker(text)
.setContentText(text)
.setSmallIcon(R.drawable.ic_launcher)
.setSmallIcon(R.drawable.ic_notification)
.addAction(android.R.drawable.ic_menu_close_clear_cancel, "Quit", pendingIntentStop)
.setContentIntent(pendingIntent)
.setOngoing(true).build();

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB