ButtonSettings: Add a RemotePreference for device-specific panel

 * In case a device provides its own panel for extra buttons
   settings, place it at the bottom of the Button Settings screen.
   Back in N, that used to go directly to the Settings dashboard,
   but no longer makes sense in O.

 * This uses the RemotePreference API to allow the external app
   to update the view and the action for this is:

     "org.lineageos.settings.device.ADDITIONAL_BUTTONS_SETTINGS"

Change-Id: If071eaad8061838a7cddea4fe1df3308f2f9ec84
diff --git a/res/xml/button_settings.xml b/res/xml/button_settings.xml
index bd436eb..2ff6989 100644
--- a/res/xml/button_settings.xml
+++ b/res/xml/button_settings.xml
@@ -302,4 +302,18 @@
             android:summary="@string/swap_volume_buttons_summary" />
     </PreferenceCategory>
 
+    <PreferenceCategory
+        android:key="extras_category"
+        android:title="@string/extras_title" >
+
+        <lineageos.preference.RemotePreference
+            android:key="additional_buttons"
+            android:title="@string/additional_buttons_title"
+            lineage:requiresAction="org.lineageos.settings.device.ADDITIONAL_BUTTONS_SETTINGS">
+            <intent
+                android:action="org.lineageos.settings.device.ADDITIONAL_BUTTONS_SETTINGS" />
+        </lineageos.preference.RemotePreference>
+
+    </PreferenceCategory>
+
 </PreferenceScreen>