Fixes issue #37 - bug raised by @creideiki *FileNotFoundException*

This commit is contained in:
stom79 2017-11-18 21:04:13 +01:00
parent c407f92ef7
commit 8290e09dd7
1 changed files with 3 additions and 1 deletions

View File

@ -27,7 +27,9 @@ public class RestartFederatedServiceReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
Intent streamingServiceIntent = new Intent(context.getApplicationContext(), StreamingFederatedTimelineService.class);
context.startService(streamingServiceIntent);
try {
context.startService(streamingServiceIntent);
}catch (Exception ignored){}
}
}