Back to project page unknown-pleasures.
The source code is released under:
Creative Commons Attribution NonCommercial NoDerivs (CC-NC-ND) THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTE...
If you think the Android project unknown-pleasures listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** * UnknownPleasuresSettings.java/* w w w .j a v a 2 s. co m*/ * Author: marek.brodziak@gmail.com * Created: Apr 16, 2014 * Copyright 2014 by miniti */ package pl.miniti.android.pleasures; import pl.miniti.android.pleasures.preferences.Prefs; import android.os.Bundle; import android.preference.PreferenceActivity; import android.preference.PreferenceManager; /** * Activity for initializing wallpaper settings screen */ public class UnknownPleasuresSettings extends PreferenceActivity { /** * Merely loads the resource with preference screen configuration * * @param savedInstanceState * context */ @Override @SuppressWarnings("deprecation") protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Prefs.validate(PreferenceManager.getDefaultSharedPreferences(this)); addPreferencesFromResource(R.xml.cover_settings); } }