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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user