diff options
author | 2011-12-09 11:00:47 -0800 | |
---|---|---|
committer | 2011-12-09 11:00:47 -0800 | |
commit | e092f8145f9198f364aee716aa1e6a6479317c12 (patch) | |
tree | 705a37f6d0a959451578f363b36e8935a2039a05 /java/src/com/android/inputmethod/latin/Settings.java | |
parent | 7dd154d9aeaa1bd19bb48e85edf0f98feceaeaa6 (diff) | |
parent | c207e0a7dad0bdae054be47cafe878698f9401fc (diff) | |
download | latinime-e092f8145f9198f364aee716aa1e6a6479317c12.tar.gz latinime-e092f8145f9198f364aee716aa1e6a6479317c12.tar.xz latinime-e092f8145f9198f364aee716aa1e6a6479317c12.zip |
am c207e0a7: Move settings variables to the settings class
* commit 'c207e0a7dad0bdae054be47cafe878698f9401fc':
Move settings variables to the settings class
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); |