Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 486a80e8 authored by hughchen's avatar hughchen
Browse files

Remove mAudioManager that is not used

Bug: 112517004
Test: Build pass
Change-Id: Id9bb0e6de646bd75acda57bf44da845faf0c4fc0
parent 30ea9ba4
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -23,7 +23,6 @@ import android.bluetooth.BluetoothProfile;
import android.bluetooth.BluetoothUuid;
import android.content.Context;
import android.content.SharedPreferences;
import android.media.AudioManager;
import android.os.ParcelUuid;
import android.os.SystemClock;
import android.text.TextUtils;
@@ -51,7 +50,6 @@ public class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice>
    private final Context mContext;
    private final LocalBluetoothAdapter mLocalAdapter;
    private final LocalBluetoothProfileManager mProfileManager;
    private final AudioManager mAudioManager;
    private final BluetoothDevice mDevice;
    //TODO: consider remove, BluetoothDevice.getName() is already cached
    private String mName;
@@ -187,7 +185,6 @@ public class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice>
        mContext = context;
        mLocalAdapter = adapter;
        mProfileManager = profileManager;
        mAudioManager = context.getSystemService(AudioManager.class);
        mDevice = device;
        mProfileConnectionState = new HashMap<LocalBluetoothProfile, Integer>();
        fillData();