Fiddle with bug #677 by using a different context.
This commit is contained in:
parent
39482a8a06
commit
9fa3b1b98c
@ -1184,13 +1184,13 @@ public final class PlaybackService extends Service
|
||||
*/
|
||||
private void showMirrorLinkSafeToast(int resId, int duration) {
|
||||
if(getMirrorLinkCallback() == null) {
|
||||
Toast.makeText(this, resId, duration).show();
|
||||
Toast.makeText(getApplicationContext(), resId, duration).show();
|
||||
}
|
||||
}
|
||||
|
||||
private void showMirrorLinkSafeToast(CharSequence text, int duration) {
|
||||
if(getMirrorLinkCallback() == null) {
|
||||
Toast.makeText(this, text, duration).show();
|
||||
Toast.makeText(getApplicationContext(), text, duration).show();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user