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.";
|
||||
}
|
||||
|
||||
String textToDisplay = bodyText + " " + lastRuleString;
|
||||
String textToDisplay;
|
||||
if(bodyText.length() > 0)
|
||||
textToDisplay = bodyText + " " + lastRuleString;
|
||||
else
|
||||
textToDisplay = lastRuleString;
|
||||
|
||||
if(notificationBuilder == null)
|
||||
notificationBuilder = createServiceNotificationBuilder();
|
||||
|
||||
Reference in New Issue
Block a user