summaryrefslogtreecommitdiffstats
path: root/src/android
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-04-12 04:39:05 +0200
committerbunnei <bunneidev@gmail.com>2023-06-03 09:05:56 +0200
commit5c1310dc5ddc022f70d376325e6c112e95348344 (patch)
treecc5c49deb2482c72b6a86bf3aa497def4cc4a8b1 /src/android
parentandroid: Change wording for "Add Games" button (#100) (diff)
downloadyuzu-5c1310dc5ddc022f70d376325e6c112e95348344.tar
yuzu-5c1310dc5ddc022f70d376325e6c112e95348344.tar.gz
yuzu-5c1310dc5ddc022f70d376325e6c112e95348344.tar.bz2
yuzu-5c1310dc5ddc022f70d376325e6c112e95348344.tar.lz
yuzu-5c1310dc5ddc022f70d376325e6c112e95348344.tar.xz
yuzu-5c1310dc5ddc022f70d376325e6c112e95348344.tar.zst
yuzu-5c1310dc5ddc022f70d376325e6c112e95348344.zip
Diffstat (limited to 'src/android')
-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) {