Commit a8dca221 authored by haffenloher's avatar haffenloher Committed by Bastien Le Querrec
parent bb2bf67a
......@@ -460,6 +460,9 @@
<string name="SingleRecipientNotificationBuilder_silence" translatable="false">Silence</string>
<string name="SingleRecipientNotificationBuilder_new_message">New message</string>
<!-- VideoPlayer -->
<string name="VideoPlayer_error_playing_video">Error playing video</string>
<!-- SubscriptionInfoCompat -->
<string name="SubscriptionInfoCompat_slot">Slot %1$s</string>
<string name="SubscriptionInfoCompat_display_name">%1$s (slot %2$s)</string>
......
......@@ -60,7 +60,7 @@ public class VideoPlayer extends FrameLayout {
Log.w(TAG, "Playing video directly from non-local Uri...");
this.videoView.setVideoURI(videoSource.getUri());
} else {
Toast.makeText(getContext(), "Error playing video...", Toast.LENGTH_LONG).show();
Toast.makeText(getContext(), getContext().getString(R.string.VideoPlayer_error_playing_video), Toast.LENGTH_LONG).show();
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment