From b50430e09db36b6b4c5b63841caeeed91d318cdd Mon Sep 17 00:00:00 2001 From: SongFerngWang Date: Fri, 15 Apr 2022 08:45:06 +0800 Subject: [PATCH] [LE unicast] Change the default value for LeContactSharingEnabled Bug: 229322144 Test: build pass. Change-Id: I7673397b9f04df8acb551bdad42dea1f3ece72ff --- .../bluetooth/BluetoothDetailsProfilesController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/android/settings/bluetooth/BluetoothDetailsProfilesController.java b/src/com/android/settings/bluetooth/BluetoothDetailsProfilesController.java index 36b571897fa..f0809ad84be 100644 --- a/src/com/android/settings/bluetooth/BluetoothDetailsProfilesController.java +++ b/src/com/android/settings/bluetooth/BluetoothDetailsProfilesController.java @@ -92,7 +92,7 @@ public class BluetoothDetailsProfilesController extends BluetoothDetailsControll mProfilesContainer = (PreferenceCategory)screen.findPreference(getPreferenceKey()); mProfilesContainer.setLayoutResource(R.layout.preference_bluetooth_profile_category); mIsLeContactSharingEnabled = DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_SETTINGS_UI, - SettingsUIDeviceConfig.BT_LE_AUDIO_CONTACT_SHARING_ENABLED, false); + SettingsUIDeviceConfig.BT_LE_AUDIO_CONTACT_SHARING_ENABLED, true); // Call refresh here even though it will get called later in onResume, to avoid the // list of switches appearing to "pop" into the page. refresh(); @@ -515,4 +515,4 @@ public class BluetoothDetailsProfilesController extends BluetoothDetailsControll public String getPreferenceKey() { return KEY_PROFILES_GROUP; } -} \ No newline at end of file +}