summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--android/app/src/com/android/bluetooth/pan/PanService.java10
-rw-r--r--flags/gap.aconfig10
2 files changed, 2 insertions, 18 deletions
diff --git a/android/app/src/com/android/bluetooth/pan/PanService.java b/android/app/src/com/android/bluetooth/pan/PanService.java
index a27724b785..9196288928 100644
--- a/android/app/src/com/android/bluetooth/pan/PanService.java
+++ b/android/app/src/com/android/bluetooth/pan/PanService.java
@@ -50,7 +50,6 @@ import com.android.bluetooth.Utils;
import com.android.bluetooth.btservice.AdapterService;
import com.android.bluetooth.btservice.ProfileService;
import com.android.bluetooth.btservice.storage.DatabaseManager;
-import com.android.bluetooth.flags.Flags;
import com.android.internal.annotations.VisibleForTesting;
import com.android.modules.utils.HandlerExecutor;
@@ -99,9 +98,7 @@ public class PanService extends ProfileService {
Log.e(TAG, "Error setting up tether interface: " + error);
for (BluetoothDevice device : mPanDevices.keySet()) {
mNativeInterface.disconnect(
- Flags.panUseIdentityAddress()
- ? Utils.getByteBrEdrAddress(mAdapterService, device)
- : Utils.getByteAddress(device));
+ Utils.getByteBrEdrAddress(mAdapterService, device));
}
mPanDevices.clear();
mIsTethering = false;
@@ -500,10 +497,7 @@ public class PanService extends ProfileService {
"handlePanDeviceStateChange BT tethering is off/Local role"
+ " is PANU drop the connection");
mPanDevices.remove(device);
- mNativeInterface.disconnect(
- Flags.panUseIdentityAddress()
- ? Utils.getByteBrEdrAddress(mAdapterService, device)
- : Utils.getByteAddress(device));
+ mNativeInterface.disconnect(Utils.getByteBrEdrAddress(mAdapterService, device));
return;
}
Log.d(TAG, "handlePanDeviceStateChange LOCAL_NAP_ROLE:REMOTE_PANU_ROLE");
diff --git a/flags/gap.aconfig b/flags/gap.aconfig
index 2b833af69a..3dd968b7ef 100644
--- a/flags/gap.aconfig
+++ b/flags/gap.aconfig
@@ -57,16 +57,6 @@ flag {
}
flag {
- name: "pan_use_identity_address"
- namespace: "bluetooth"
- description: "Use identity address when communicate with native interface"
- bug: "351961492"
- metadata {
- purpose: PURPOSE_BUGFIX
- }
-}
-
-flag {
name: "android_os_identifier"
namespace: "bluetooth"
description: "Add a custom service to provide Android OS identifier"