summaryrefslogtreecommitdiffstats
path: root/src/android/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/app')
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt
index 4c57de067..4670bc375 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt
@@ -117,11 +117,13 @@ open class EmulationActivity : AppCompatActivity() {
override fun onResume() {
super.onResume()
nfcReader.startScanning()
+ startMotionSensorListener()
}
override fun onPause() {
super.onPause()
nfcReader.stopScanning()
+ stopMotionSensorListener()
}
override fun onNewIntent(intent: Intent) {