Remove a useless member (A5)
Change-Id: Ibaaeb8dbcb012f5e973e27ed9928401515656e9emain
parent
bdbb22bb33
commit
29d967fdcb
|
@ -34,7 +34,6 @@ import com.android.inputmethod.keyboard.LatinKeyboardView;
|
||||||
* complexity of settings and the like.
|
* complexity of settings and the like.
|
||||||
*/
|
*/
|
||||||
public class AudioAndHapticFeedbackManager extends BroadcastReceiver {
|
public class AudioAndHapticFeedbackManager extends BroadcastReceiver {
|
||||||
final private LatinIME mLatinIme;
|
|
||||||
final private SettingsValues mSettingsValues;
|
final private SettingsValues mSettingsValues;
|
||||||
final private KeyboardSwitcher mKeyboardSwitcher;
|
final private KeyboardSwitcher mKeyboardSwitcher;
|
||||||
final private AudioManager mAudioManager;
|
final private AudioManager mAudioManager;
|
||||||
|
@ -43,11 +42,10 @@ public class AudioAndHapticFeedbackManager extends BroadcastReceiver {
|
||||||
|
|
||||||
public AudioAndHapticFeedbackManager(final LatinIME latinIme,
|
public AudioAndHapticFeedbackManager(final LatinIME latinIme,
|
||||||
final SettingsValues settingsValues, final KeyboardSwitcher keyboardSwitcher) {
|
final SettingsValues settingsValues, final KeyboardSwitcher keyboardSwitcher) {
|
||||||
mLatinIme = latinIme;
|
|
||||||
mSettingsValues = settingsValues;
|
mSettingsValues = settingsValues;
|
||||||
mKeyboardSwitcher = keyboardSwitcher;
|
mKeyboardSwitcher = keyboardSwitcher;
|
||||||
mVibrator = VibratorCompatWrapper.getInstance(mLatinIme);
|
mVibrator = VibratorCompatWrapper.getInstance(latinIme);
|
||||||
mAudioManager = (AudioManager) mLatinIme.getSystemService(Context.AUDIO_SERVICE);
|
mAudioManager = (AudioManager) latinIme.getSystemService(Context.AUDIO_SERVICE);
|
||||||
mSoundOn = reevaluateIfSoundIsOn();
|
mSoundOn = reevaluateIfSoundIsOn();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue