Add summary for auto on toggle in settings.
Test: atest
Bug: b/375985757
Flag: EXEMPT minor fix
Change-Id: I1c58f0510f00a33f22677ea4415478aa2bba4cea
diff --git a/res/values/strings.xml b/res/values/strings.xml
index e986ce0..b4092f6 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -136,6 +136,8 @@
<string name="keywords_add_bt_device">bluetooth</string>
<!-- Title for bluetooth auto on toggle [CHAR LIMIT=60] -->
<string name="bluetooth_screen_auto_on_title">Automatically turn on tomorrow</string>
+ <!-- Summary for bluetooth auto on toggle [CHAR LIMIT=60] -->
+ <string name="bluetooth_screen_auto_on_summary">If you turn off Bluetooth, it turns on again the next day</string>
<!-- Button to help user to pair right ear of the hearing aid device. It will show when only one of the hearing aid device set is connected. [CHAR LIMIT=20] -->
diff --git a/res/xml/bluetooth_screen.xml b/res/xml/bluetooth_screen.xml
index 51507fb..e815d44 100644
--- a/res/xml/bluetooth_screen.xml
+++ b/res/xml/bluetooth_screen.xml
@@ -21,6 +21,7 @@
<SwitchPreferenceCompat
android:key="bluetooth_auto_on_settings_toggle"
android:title="@string/bluetooth_screen_auto_on_title"
+ android:summary="@string/bluetooth_screen_auto_on_summary"
settings:controller="com.android.settings.bluetooth.BluetoothAutoOnPreferenceController"/>
<Preference