diff options
| author | 2015-07-10 20:38:42 +0900 | |
|---|---|---|
| committer | 2015-07-10 21:54:24 +0900 | |
| commit | c70ee214e60a613ab6f931568de8816f549e603d (patch) | |
| tree | 7f549c4f40006321642150a24e576920370dae3d | |
| parent | b6fbe91a02c2d4a03ff65f37ec10d5b95a0792e7 (diff) | |
Remove an unused variable from AudioService.
mKeyguardManager became unnecessary after the following change
was submitted.
https://googleplex-android-review.git.corp.google.com/#/c/500013
Bug:16186697
Change-Id: I1fd65eb6f96ccbfa45634fd3578ad895576a0e41
| -rw-r--r-- | services/core/java/com/android/server/audio/AudioService.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/services/core/java/com/android/server/audio/AudioService.java b/services/core/java/com/android/server/audio/AudioService.java index eef3d6384377..517e627ff1ba 100644 --- a/services/core/java/com/android/server/audio/AudioService.java +++ b/services/core/java/com/android/server/audio/AudioService.java @@ -28,7 +28,6 @@ import android.app.ActivityManagerInternal; import android.app.ActivityManagerNative; import android.app.AppGlobals; import android.app.AppOpsManager; -import android.app.KeyguardManager; import android.bluetooth.BluetoothA2dp; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothClass; @@ -488,8 +487,6 @@ public class AudioService extends IAudioService.Stub { private static int sSoundEffectVolumeDb; // previous volume adjustment direction received by checkForRingerModeChange() private int mPrevVolDirection = AudioManager.ADJUST_SAME; - // Keyguard manager proxy - private KeyguardManager mKeyguardManager; // mVolumeControlStream is set by VolumePanel to temporarily force the stream type which volume // is controlled by Vol keys. private int mVolumeControlStream = -1; @@ -696,8 +693,6 @@ public class AudioService extends IAudioService.Stub { sendMsg(mAudioHandler, MSG_LOAD_SOUND_EFFECTS, SENDMSG_QUEUE, 0, 0, null, 0); - mKeyguardManager = - (KeyguardManager) mContext.getSystemService(Context.KEYGUARD_SERVICE); mScoConnectionState = AudioManager.SCO_AUDIO_STATE_ERROR; resetBluetoothSco(); getBluetoothHeadset(); |