private void temporarilyDisableUnsupportedSettings(Preferences preferences){
  NotificationsPrefs notification=preferences.getNotification();
  notification.setFriendOnlineSoundEnabled(false);
  notification.setFriendOfflineSoundEnabled(false);
  notification.setFriendOfflineSoundEnabled(false);
  notification.setFriendPlaysGameSoundEnabled(false);
  notification.setFriendPlaysGameToastEnabled(false);
}

private void temporarilyDisableUnsupportedSettings ( Preferences preferences ) { NotificationsPrefs notification = preferences . getNotification ( ) ; notification . setFriendOnlineSoundEnabled ( false ) ; notification . setFriendOfflineSoundEnabled ( false ) ; notification . setFriendOfflineSoundEnabled ( false ) ; notification . setFriendPlaysGameSoundEnabled ( false ) ; notification . setFriendPlaysGameToastEnabled ( false ) ; }
disables preferences that should not be enabled since they are not supported yet .
