package org.irmacard.cardemu.preferences;

import android.preference.PreferenceFragment;

import org.irmacard.cardemu.R;

public class ScreenshotPreferenceFragment extends PreferenceFragment {
	@Override
	public void onResume() {
		super.onResume();

		addPreferencesFromResource(R.xml.preferences_screenshots);
	}
}

@@ -36,16 +36,42 @@
 ences;%0A%0A
+import android.os.Bundle;%0A
 import a
@@ -242,40 +242,82 @@
 d on
-Resume() %7B%0A%09%09super.onResume(
+Create(Bundle savedInstanceState) %7B%0A%09%09super.onCreate(savedInstanceState
 );%0A
-%0A
 %09%09ad

Fix double screenshot preference when switching apps