Don't log for every interaction (#1748)
This commit is contained in:
commit
448eb1f5a1
1 changed files with 5 additions and 3 deletions
|
@ -41,9 +41,11 @@ class MachineLearningController {
|
|||
}
|
||||
|
||||
void onUserInteraction() {
|
||||
_logger.info("User is interacting with the app");
|
||||
_isUserInteracting = true;
|
||||
_fireControlEvent();
|
||||
if (!_isUserInteracting) {
|
||||
_logger.info("User is interacting with the app");
|
||||
_isUserInteracting = true;
|
||||
_fireControlEvent();
|
||||
}
|
||||
_resetTimer();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue