From 30a80b24079ef5781c9cf6764cd7726ac26caf17 Mon Sep 17 00:00:00 2001
From: Himanshu Rawat <rwt@google.com>
Date: Fri, 23 Feb 2024 17:14:09 +0000
Subject: [PATCH] Add a flag to guard removing the address mapping on device
 removal

Test: m com.android.btservices

Bug: 326603271
Bug: 315241296
Change-Id: I5f4194719ab3977246466144dcd63501e675cceb
---
 flags/framework.aconfig | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/flags/framework.aconfig b/flags/framework.aconfig
index daa1119afec..5357fddaf36 100644
--- a/flags/framework.aconfig
+++ b/flags/framework.aconfig
@@ -49,3 +49,10 @@ flag {
     description: "Change visibility of BluetoothDevice#getAddressType API to public"
     bug: "321120941"
 }
+
+flag {
+    name: "remove_bond_with_address_map"
+    namespace: "bluetooth"
+    description: "Removes the address map when the bond is removed"
+    bug: "326603271"
+}
-- 
GitLab