From 4701eea6462dc0ed688815a8446c5122de2eeb22 Mon Sep 17 00:00:00 2001 From: Charles Lombardo Date: Tue, 29 Aug 2023 20:21:29 -0400 Subject: [PATCH] android: Don't reload settings when stopping settings activity --- .../org/yuzu/yuzu_emu/features/settings/ui/SettingsActivity.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivity.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivity.kt index 7fd83f5f7a..908c01265c 100644 --- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivity.kt +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivity.kt @@ -16,7 +16,6 @@ import androidx.core.view.WindowInsetsCompat import androidx.navigation.fragment.NavHostFragment import androidx.navigation.navArgs import com.google.android.material.color.MaterialColors -import org.yuzu.yuzu_emu.NativeLibrary import java.io.IOException import org.yuzu.yuzu_emu.R import org.yuzu.yuzu_emu.databinding.ActivitySettingsBinding @@ -133,7 +132,6 @@ class SettingsActivity : AppCompatActivity() { if (isFinishing && settingsViewModel.shouldSave) { Log.debug("[SettingsActivity] Settings activity stopping. Saving settings to INI...") Settings.saveSettings() - NativeLibrary.reloadSettings() } }