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);
	}
}

package org.irmacard.cardemu.preferences;

import android.os.Bundle;
import android.preference.PreferenceFragment;

import org.irmacard.cardemu.R;

public class ScreenshotPreferenceFragment extends PreferenceFragment {
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		addPreferencesFromResource(R.xml.preferences_screenshots);
	}
}

Fix double screenshot preference when switching apps
Fix double screenshot preference when switching apps
