diff --git a/app/src/main/java/com/rubenvandeven/emotionhero/GamingActivity.java b/app/src/main/java/com/rubenvandeven/emotionhero/GamingActivity.java index 069dd48..ea1b984 100644 --- a/app/src/main/java/com/rubenvandeven/emotionhero/GamingActivity.java +++ b/app/src/main/java/com/rubenvandeven/emotionhero/GamingActivity.java @@ -168,13 +168,14 @@ public class GamingActivity extends AppCompatActivity implements Detector.ImageL protected void onResume() { super.onResume(); startDetector(); - + // should resume 'on face detection started' } @Override protected void onPause() { super.onPause(); stopDetector(); + currentScenario.pause(); } void startDetector() {