diff options
author | Jeremy Klein <jlklein@google.com> | 2016-09-28 15:38:46 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-09-28 15:38:46 +0000 |
commit | 81648f4ceef122e6499b4c53dc7b6428ea9adccb (patch) | |
tree | 1536e0f5df752df664f836098fab7bebd98e89bd /framework/java/android/bluetooth/BluetoothGattServer.java | |
parent | 08063400388c0d645ef4438ed14b538ac6f6d462 (diff) | |
parent | 59d15654a5ab54a9f1a228152e3d6d829b108a2b (diff) |
Remove unused mContext from BluetoothGatt[Server].
am: 59d15654a5
Change-Id: Ic6650d0b5de52b8c4662fb5a103a9ff2c9194d42
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothGattServer.java')
-rw-r--r-- | framework/java/android/bluetooth/BluetoothGattServer.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/framework/java/android/bluetooth/BluetoothGattServer.java b/framework/java/android/bluetooth/BluetoothGattServer.java index f4513405b1..9f8d1a77a8 100644 --- a/framework/java/android/bluetooth/BluetoothGattServer.java +++ b/framework/java/android/bluetooth/BluetoothGattServer.java @@ -44,7 +44,6 @@ public final class BluetoothGattServer implements BluetoothProfile { private static final boolean DBG = true; private static final boolean VDBG = false; - private final Context mContext; private BluetoothAdapter mAdapter; private IBluetoothGatt mService; private BluetoothGattServerCallback mCallback; @@ -307,8 +306,7 @@ public final class BluetoothGattServer implements BluetoothProfile { /** * Create a BluetoothGattServer proxy object. */ - /*package*/ BluetoothGattServer(Context context, IBluetoothGatt iGatt, int transport) { - mContext = context; + /*package*/ BluetoothGattServer(IBluetoothGatt iGatt, int transport) { mService = iGatt; mAdapter = BluetoothAdapter.getDefaultAdapter(); mCallback = null; |