Removed intent reference from backup service

pull/14/head
Tim Su 16 years ago
parent d54f46e3d9
commit b0bc53af08

@ -46,10 +46,8 @@ public class BackupService extends Service {
@Override @Override
public void onStart(Intent intent, int startId) { public void onStart(Intent intent, int startId) {
try { try {
if (intent.getAction().equals(BACKUP_ACTION)) { ContextManager.setContext(this);
ContextManager.setContext(this); startBackup(this);
startBackup(this);
}
} catch (Exception e) { } catch (Exception e) {
PluginServices.getExceptionService().reportError("backup-bg-sync", e); //$NON-NLS-1$ PluginServices.getExceptionService().reportError("backup-bg-sync", e); //$NON-NLS-1$
} }

Loading…
Cancel
Save