mirror of
https://github.com/Xcreen/RestSMS.git
synced 2026-04-18 06:07:40 -04:00
Switch Title and Text for correct output
This commit is contained in:
@@ -67,8 +67,8 @@ public class ServerService extends Service {
|
||||
//Create Notification
|
||||
Notification notification = new NotificationCompat.Builder(this, "TESTID")
|
||||
.setSmallIcon(R.drawable.launcher)
|
||||
.setContentText(getString(R.string.app_name))
|
||||
.setContentTitle(getString(R.string.notification_text, serverPort))
|
||||
.setContentTitle(getString(R.string.app_name))
|
||||
.setContentText(getString(R.string.notification_text, serverPort))
|
||||
.setCategory(NotificationCompat.CATEGORY_SERVICE)
|
||||
.setPriority(NotificationCompat.PRIORITY_HIGH)
|
||||
.setOngoing(true)
|
||||
|
||||
Reference in New Issue
Block a user