forked from organicmaps/organicmaps-tmp
[android] Displays whole GPS error message in notification (Fixes:#9288)
Signed-off-by: Hemang Manhas <hemangmanhas@gmail.com>
This commit is contained in:
parent
945ae37209
commit
65f556e175
1 changed files with 2 additions and 0 deletions
|
@ -200,6 +200,8 @@ public class TrackRecordingService extends Service implements LocationListener
|
|||
.setSmallIcon(R.drawable.warning_icon)
|
||||
.setContentTitle(context.getString(R.string.current_location_unknown_error_title))
|
||||
.setContentText(context.getString(R.string.dialog_routing_location_turn_wifi))
|
||||
.setStyle(new NotificationCompat.BigTextStyle()
|
||||
.bigText(context.getString(R.string.dialog_routing_location_turn_wifi)))
|
||||
.addAction(0, context.getString(R.string.navigation_stop_button), getExitPendingIntent(context))
|
||||
.setContentIntent(getPendingIntent(context))
|
||||
.setColor(ContextCompat.getColor(context, R.color.notification_warning));
|
||||
|
|
Loading…
Add table
Reference in a new issue