summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/SoundSettings.java
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2010-02-05 11:35:45 -0800
committerSan Mehat <san@google.com>2010-02-08 16:26:16 -0800
commit1e60c9603e02f95158d21b4a2089dc45dffb41c1 (patch)
treedb40e19878090465ad7c90ca9b68e518bdad73f9 /src/com/android/settings/SoundSettings.java
parent07c61c6dbb805ab9aa60ceffd3bd1fb528a3dc65 (diff)
downloadpackages_apps_settings-1e60c9603e02f95158d21b4a2089dc45dffb41c1.zip
packages_apps_settings-1e60c9603e02f95158d21b4a2089dc45dffb41c1.tar.gz
packages_apps_settings-1e60c9603e02f95158d21b4a2089dc45dffb41c1.tar.bz2
Settings: Refactor for new API and remove some unused references / imports
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'src/com/android/settings/SoundSettings.java')
-rw-r--r--src/com/android/settings/SoundSettings.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/com/android/settings/SoundSettings.java b/src/com/android/settings/SoundSettings.java
index fb78a80..52947ac 100644
--- a/src/com/android/settings/SoundSettings.java
+++ b/src/com/android/settings/SoundSettings.java
@@ -25,7 +25,6 @@ import android.content.Intent;
import android.content.IntentFilter;
import android.media.AudioManager;
import android.os.Bundle;
-import android.os.IMountService;
import android.os.RemoteException;
import android.os.ServiceManager;
import android.preference.CheckBoxPreference;
@@ -59,8 +58,6 @@ public class SoundSettings extends PreferenceActivity implements
private CheckBoxPreference mSilent;
- private IMountService mMountService = null;
-
/*
* If we are currently in one of the silent modes (the ringer mode is set to either
* "silent mode" or "vibrate mode"), then toggling the "Phone vibrate"
@@ -95,8 +92,6 @@ public class SoundSettings extends PreferenceActivity implements
mAudioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
- mMountService = IMountService.Stub.asInterface(ServiceManager.getService("mount"));
-
addPreferencesFromResource(R.xml.sound_settings);
if (TelephonyManager.PHONE_TYPE_CDMA != activePhoneType) {