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:
parent
2d1f9f9c84
commit
f345c33728
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user