Removed redundant space character in notification
This commit is contained in:
@@ -672,7 +672,11 @@ public class AutomationService extends Service implements OnInitListener
|
|||||||
lastRuleString = instance.getResources().getString(R.string.lastRule) + " n./a.";
|
lastRuleString = instance.getResources().getString(R.string.lastRule) + " n./a.";
|
||||||
}
|
}
|
||||||
|
|
||||||
String textToDisplay = bodyText + " " + lastRuleString;
|
String textToDisplay;
|
||||||
|
if(bodyText.length() > 0)
|
||||||
|
textToDisplay = bodyText + " " + lastRuleString;
|
||||||
|
else
|
||||||
|
textToDisplay = lastRuleString;
|
||||||
|
|
||||||
if(notificationBuilder == null)
|
if(notificationBuilder == null)
|
||||||
notificationBuilder = createServiceNotificationBuilder();
|
notificationBuilder = createServiceNotificationBuilder();
|
||||||
|
|||||||
Reference in New Issue
Block a user