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

Commit 64d09375 authored by vince-bourgmayer's avatar vince-bourgmayer
Browse files

still a forgotten modified file

parent c522f7c9
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -56,14 +56,14 @@ public class ResetService extends Service {
                    Log.d(TAG, "stop InitializerService: "+result);

                    stopperIntent = new Intent(getApplicationContext(), OperationManagerService.class); //@todo try to replace it by stopperIntent.setClassName(getApplicationContext, OperationManagerService.class)
                    /*intent.putExtra("action", "stop");
                    startService(stopperIntent);*/


                    result = getApplicationContext().stopService( stopperIntent );
                    Log.d(TAG, "stop OperationManagerService: "+result);

                    //2. Stop the scheduledJob
                    JobUtils.stopScheduledJob(this);
                    JobUtils.stopScheduledJob(this, JobUtils.ScannerJobId);
                    //JobUtils.stopScheduledJob(this, JobUtils.InitializerJobId);
                    //3. delete DB
                    result = this.deleteDatabase(DbHelper.DATABASE_NAME);
                    Log.d(TAG, "Remove Database: "+result);