Skip to content

Commit d62da2d

Browse files
committed
Remove unused variable and imports in AudioManager
Remove unused imports. Remove private mHandler variable: it was assigned a new Handler object but was never accessed. Change-Id: I63cd08aa38701ea157fef7d3185a58a6e2a95822
1 parent 6a5c1a9 commit d62da2d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

media/java/android/media/AudioManager.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
import android.content.ComponentName;
2323
import android.content.Context;
2424
import android.content.Intent;
25-
import android.database.ContentObserver;
26-
import android.graphics.Bitmap;
2725
import android.os.Binder;
2826
import android.os.Handler;
2927
import android.os.IBinder;
@@ -37,7 +35,6 @@
3735
import android.view.KeyEvent;
3836
import android.view.VolumePanel;
3937

40-
import java.util.Iterator;
4138
import java.util.HashMap;
4239

4340
/**
@@ -49,11 +46,9 @@
4946
public class AudioManager {
5047

5148
private final Context mContext;
52-
private final Handler mHandler;
5349
private long mVolumeKeyUpTime;
5450
private int mVolumeControlStream = -1;
5551
private static String TAG = "AudioManager";
56-
private static boolean localLOGV = false;
5752

5853
/**
5954
* Broadcast intent, a hint for applications that audio is about to become
@@ -359,7 +354,6 @@ public class AudioManager {
359354
*/
360355
public AudioManager(Context context) {
361356
mContext = context;
362-
mHandler = new Handler(context.getMainLooper());
363357
}
364358

365359
private static IAudioService getService()

0 commit comments

Comments
 (0)