diff options
author | 2011-12-08 22:21:26 +0900 | |
---|---|---|
committer | 2011-12-09 16:47:31 +0900 | |
commit | c207e0a7dad0bdae054be47cafe878698f9401fc (patch) | |
tree | 705a37f6d0a959451578f363b36e8935a2039a05 /java/src/com/android/inputmethod/latin/Settings.java | |
parent | 284c8a0449f25a750fe132ba4a827bb489fcdb0c (diff) | |
download | latinime-c207e0a7dad0bdae054be47cafe878698f9401fc.tar.gz latinime-c207e0a7dad0bdae054be47cafe878698f9401fc.tar.xz latinime-c207e0a7dad0bdae054be47cafe878698f9401fc.zip |
Move settings variables to the settings class
Change-Id: Ifa7033a84b08ea626eb44cf6d04ba8e28c250bea
Diffstat (limited to 'java/src/com/android/inputmethod/latin/Settings.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/Settings.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/Settings.java b/java/src/com/android/inputmethod/latin/Settings.java index 6558c3ca3..4166e6266 100644 --- a/java/src/com/android/inputmethod/latin/Settings.java +++ b/java/src/com/android/inputmethod/latin/Settings.java @@ -543,8 +543,8 @@ public class Settings extends InputMethodSettingsActivity }); final View v = context.getLayoutInflater().inflate( R.layout.sound_effect_volume_dialog, null); - final int currentVolumeInt = (int)(SettingsValues.getCurrentKeypressSoundVolume( - getPreferenceManager().getSharedPreferences(), getResources()) * 100); + final int currentVolumeInt = + (int)(SettingsValues.getCurrentKeypressSoundVolume(sp, res) * 100); mKeypressSoundVolumeSettingsTextView = (TextView)v.findViewById(R.id.sound_effect_volume_value); final SeekBar sb = (SeekBar)v.findViewById(R.id.sound_effect_volume_bar); |