1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-30 05:02:26 -05:00

Removed useless try block

This commit is contained in:
cketti 2011-10-29 05:10:13 +02:00
parent 2d1f9f9c84
commit f345c33728

View File

@ -86,7 +86,6 @@ public class MailService extends CoreService {
@Override
public void startService(Intent intent, int startId) {
long startTime = System.currentTimeMillis();
try {
boolean oldIsSyncDisabled = isSyncDisabled();
ConnectivityManager connectivityManager = (ConnectivityManager)getApplication().getSystemService(Context.CONNECTIVITY_SERVICE);
boolean doBackground = true;
@ -168,9 +167,7 @@ public class MailService extends CoreService {
if (isSyncDisabled() != oldIsSyncDisabled) {
MessagingController.getInstance(getApplication()).systemStatusChanged();
}
} finally {
/* nothing to do */
}
if (K9.DEBUG)
Log.i(K9.LOG_TAG, "MailService.onStart took " + (System.currentTimeMillis() - startTime) + "ms");
}