From 4701eea6462dc0ed688815a8446c5122de2eeb22 Mon Sep 17 00:00:00 2001 From: Charles Lombardo Date: Tue, 29 Aug 2023 20:21:29 -0400 Subject: android: Don't reload settings when stopping settings activity --- .../java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivity.kt | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/android/app') 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 7fd83f5f7..908c01265 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() } } -- cgit v1.2.3