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

Commit 6995c57d authored by Neil Fuller's avatar Neil Fuller
Browse files

Remove TODO related to WakeLocks

There's no need to keep a WakeLock in the RulesManager - if
the device goes to sleep it should continue the work when
it wakes up again. All I/O is handled via AtomicFile and should
be robust to corruption, etc. and this reduces the likelihood
of issues caused by sudden sleeps.

Bug: 31008728
Test: make
Change-Id: I3d5076ca7d2f39076f76bdb745cedde214eac21b
parent 9e3f886d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -57,7 +57,6 @@ final class RulesManagerServiceHelperImpl implements PermissionHelper, Executor
        return true;
    }

    // TODO(nfuller): Wake lock required while running in background thread?
    @Override
    public void execute(Runnable runnable) {
        AsyncTask.execute(runnable);