Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6fa0ac9a authored by vince-bourgmayer's avatar vince-bourgmayer
Browse files

change wrong instruction in else case in ObserverService.java

parent a4a060ee
Loading
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -149,12 +149,11 @@ public class ObserverService extends Service implements OnRemoteOperationListene
                    else
                        begin();
                }else{
                    JobUtils.stopScheduledJob(this, JobUtils.ScannerJobId); //If no account
                    this.stopSelf();
                }

            } else {//If initialization not done
                Log.w(TAG, "ContentResolver.getSyncAutomatically(account, '**_PROVIDER_AUTHORITY') return false");
            } else {
                JobUtils.stopScheduledJob(this, JobUtils.ScannerJobId); //If no account
                this.stopSelf();
            }
        }else{
            Log.w(TAG, "Server must be initialized before to start");