MCPcopy Create free account
hub / github.com/buggins/coolreader / saveSettings

Method saveSettings

android/src/org/coolreader/CoolReader.java:2001–2008  ·  view source on GitHub ↗
(int profile, Properties settings)

Source from the content-addressed store, hash-verified

1999 }
2000
2001 public void saveSettings(int profile, Properties settings) {
2002 File f = getSettingsFile(profile);
2003 if (profile != 0) {
2004 settings = filterProfileSettings(settings);
2005 settings.setInt(Settings.PROP_PROFILE_NUMBER, profile);
2006 }
2007 saveSettings(f, settings);
2008 }
2009
2010 public void saveSettings(File f, Properties settings)
2011 {

Callers

nothing calls this directly

Calls 6

getSettingsFileMethod · 0.95
filterProfileSettingsMethod · 0.95
vMethod · 0.65
iMethod · 0.65
eMethod · 0.65
setIntMethod · 0.45

Tested by

no test coverage detected