public BasicIncrementalScheduler(
UserActivityManager userActivityManager, int targetExecutionMs, int workGuess) {
this(targetExecutionMs, workGuess);
userActivityRemover =
userActivityManager.getUserActivityListenerRegistrar().add(new UserActivityListener() {
@Override
public void onUserActive() {
pause();
}