[3/3] OmniGears: headset notification config

Change-Id: Ia4b4a9501ffc44b69470b5d321efcf9390388136
diff --git a/res/values/custom_strings.xml b/res/values/custom_strings.xml
index 3e52c10..1653a33 100644
--- a/res/values/custom_strings.xml
+++ b/res/values/custom_strings.xml
@@ -487,6 +487,8 @@
     <string name="custom_wall_browse_summary">Browse and set Omni branded wallpapers</string>
     <string name="show_cpu_title">Show CPU info</string>
     <string name="show_cpu_summary">Screen overlay showing current CPU info</string>
+    <string name="headset_plugged_notification_title">Headset notification</string>
+    <string name="headset_plugged_notification_summary">Show notification when connecting wired headsets</string>
 
     <!-- Display : Rotation -->
     <string name="category_display">Display</string>
diff --git a/res/xml/more_settings.xml b/res/xml/more_settings.xml
index 2b7440b..d06f5da 100644
--- a/res/xml/more_settings.xml
+++ b/res/xml/more_settings.xml
@@ -40,6 +40,12 @@
                 android:title="@string/volume_dialog_headers_title"
                 android:summary="@string/volume_dialog_headers_summary"
                 android:defaultValue="true" />
+
+            <org.omnirom.omnigears.preference.SystemSettingSwitchPreference
+                android:key="headset_plugged_notification"
+                android:title="@string/headset_plugged_notification_title"
+                android:summary="@string/headset_plugged_notification_summary"
+                android:defaultValue="true" />
         </PreferenceCategory>
 
         <PreferenceCategory