FileDocCategorySizeDatePackage
Settings.javaAPI DocAndroid 1.5 API1608Wed May 06 22:42:48 BST 2009com.android.settings

Settings

public class Settings extends android.preference.PreferenceActivity

Fields Summary
private static final String
KEY_PARENT
private static final String
KEY_CALL_SETTINGS
private static final String
KEY_SYNC_SETTINGS
Constructors Summary
Methods Summary
protected voidonCreate(android.os.Bundle savedInstanceState)

    
    
        
        super.onCreate(savedInstanceState);
        
        addPreferencesFromResource(R.xml.settings);
        
        PreferenceGroup parent = (PreferenceGroup) findPreference(KEY_PARENT);
        Utils.updatePreferenceToSpecificActivityOrRemove(this, parent, KEY_SYNC_SETTINGS, 0);
    
protected voidonResume()

        super.onResume();
        findPreference(KEY_CALL_SETTINGS).setEnabled(!AirplaneModeEnabler.isAirplaneModeOn(this));