summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/Settings_Obscure.java
blob: 8375466387483e2a2a2f30831c425622534c334e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package de.blinkt.openvpn;

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

public class Settings_Obscure extends PreferenceFragment {
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		// Make sure default values are applied.  In a real app, you would
		// want this in a shared function that is used to retrieve the
		// SharedPreferences wherever they are needed.
		PreferenceManager.setDefaultValues(getActivity(),
				R.xml.vpn_ipsettings, false);

		// Load the preferences from an XML resource
		addPreferencesFromResource(R.xml.vpn_obscure);
	}
}