Code example for RingtonePreference

Methods: setEnabled

0
            		showNoticeDialog(); 
            		mHandler.post(new Runnable(){ 
                        public void run(){onContentChanged(); 
                    }}); 
            	} else { 
            		mRingSettingPref.setEnabled(true); 
            		mRingSettingsAllPref.setSummary("系统铃声"); 
            		mHandler.post(new Runnable(){ 
                        public void run(){onContentChanged(); 
                    }}); 
            	} 
            }  
//            else if (PREF_PLAY_RECORD_SETTINGS_KEY.equals(key)) { 
//            	startRecordRing(); 
//            } 
            return false; 
        } 
    }; 
     
     
    OnTimeSetListener timeSetListener = new OnTimeSetListener() {