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
This commit is contained in:
Neil Fuller
2017-07-25 13:14:32 +01:00
parent 9e3f886dca
commit 6995c57d8e

View File

@@ -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);