summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothGattServer.java
diff options
context:
space:
mode:
authorJeremy Klein <jlklein@google.com>2016-09-28 15:44:23 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-09-28 15:44:23 +0000
commitb1aad491bef4f6b87946a85d8ac3820780f2ffb5 (patch)
tree1c68316e5998c13c7cc23a82f7bf03d12b7d8571 /framework/java/android/bluetooth/BluetoothGattServer.java
parent1dbf1ed1b6e4c0034bb023d54757777b20c0dbf6 (diff)
parent81648f4ceef122e6499b4c53dc7b6428ea9adccb (diff)
Remove unused mContext from BluetoothGatt[Server]. am: 59d15654a5
am: 81648f4cee Change-Id: I11c459514e54bb486f3a90a1b0390453fc48b857
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothGattServer.java')
-rw-r--r--framework/java/android/bluetooth/BluetoothGattServer.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/framework/java/android/bluetooth/BluetoothGattServer.java b/framework/java/android/bluetooth/BluetoothGattServer.java
index c2bcbb2df6..5ffceba5e1 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;
@@ -298,8 +297,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;