Don't log for every interaction (#1748)

This commit is contained in:
Vishnu Mohandas 2024-02-24 11:07:00 +05:30 committed by GitHub
commit 448eb1f5a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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