Code example for RingtonePreference

Methods: setEnabled

0
	 
	private void toggleNotificationSection() 
	{ 
		mVibratePref.setEnabled(mUpdateFrequency > 0);
		mFriendNotifyPref.setEnabled(mUpdateFrequency > 0);
		mRingtonePref.setEnabled(mUpdateFrequency > 0);
	} 
	 
	public static void actionEditSettings(Context context, BasicAccount account)
	{ 
		Intent intent = new Intent(context, AccountSettings.class);
		intent.putExtra("account", account);
		context.startActivity(intent);		
	} 
	 
	private void onLoginSettings() 
	{ 
		mAccount.editLogin(this);
	} 
	 
	private void saveSettings()