public void setMusicEnabledFromPreferences ( final String preferences , final String preferenceName , final boolean defaultValue ) { musicPreferences = preferences ; musicEnabledPreferenceName = preferenceName ; setMusicEnabled ( readFromPreferences ( preferences , preferenceName , defaultValue ) ) ; }
Sets the current music state according to the value stored in preferences . Mostly for internal use .