mirror of
https://github.com/nerzhul/ownCloud-SMS-App.git
synced 2026-08-21 21:32:58 +00:00
Crashfix -> 0.21.1
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ public class OCSMSNotificationUI {
|
||||
final Bitmap picture = BitmapFactory.decodeResource(res, R.drawable.ic_launcher);
|
||||
|
||||
|
||||
final String ticker = titleString.substring(0, 20);
|
||||
final String ticker = (titleString.length() > 20) ? titleString.substring(0, 20) : titleString;
|
||||
final String title = res.getString(R.string.ui_notification_title_template, titleString);
|
||||
|
||||
final NotificationCompat.Builder builder = new NotificationCompat.Builder(context)
|
||||
|
||||
Reference in New Issue
Block a user