From dff2d9b5c7988e4f67eda26ef0292f55be991c96 Mon Sep 17 00:00:00 2001
From: Himanshu Rawat <rwt@google.com>
Date: Tue, 23 Jan 2024 19:00:28 +0000
Subject: [PATCH] Flag for prevent pairing state reset due to unrelated service
 discovery

Bug: 321996502
Bug: 315241296
Test: mma packages/modules/Bluetooth

Change-Id: Ia5074f64aa60509cee11d2b1e3511ae50c141be5
---
 flags/btif_dm.aconfig | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/flags/btif_dm.aconfig b/flags/btif_dm.aconfig
index fa99fe04c3d..aeb88e210b1 100644
--- a/flags/btif_dm.aconfig
+++ b/flags/btif_dm.aconfig
@@ -6,3 +6,10 @@ flag {
     description: "Bond type is not applicable for LE SMP pairing"
     bug: "319695663"
 }
+
+flag {
+    name: "reset_pairing_only_for_related_service_discovery"
+    namespace: "bluetooth"
+    description: "Don't reset the pairing state if service discovery concludes for a different device"
+    bug: "321996502"
+}
-- 
GitLab