[1/2] Allow navigation bar home actions to be configurable

*) Adds options to nav bar settings category to allow config
   of long press and double tap actions.

*) Reuses the underlying framework settings for hardware home
   key action options.

*) Nav bar home config options are hidden if a hardware home key
   is present so that we don't duplicate home actions in two
   places (under navbar and home button).  Can happen if navbar
   is forced on.

Change-Id: I8caaa7bf75fa11d08afd6408f8df00e696b1fafa
diff --git a/res/xml/button_settings.xml b/res/xml/button_settings.xml
index de9c062..c587fca 100644
--- a/res/xml/button_settings.xml
+++ b/res/xml/button_settings.xml
@@ -53,6 +53,22 @@
         </PreferenceScreen>
 
         <ListPreference
+            android:key="navigation_home_long_press"
+            android:dialogTitle="@string/navigation_bar_home_long_press_title"
+            android:title="@string/navigation_bar_home_long_press_title"
+            android:entries="@array/hardware_keys_action_entries"
+            android:entryValues="@array/hardware_keys_action_values"
+            android:persistent="false" />
+
+        <ListPreference
+            android:key="navigation_home_double_tap"
+            android:dialogTitle="@string/navigation_bar_home_double_tap_title"
+            android:title="@string/navigation_bar_home_double_tap_title"
+            android:entries="@array/hardware_keys_action_entries"
+            android:entryValues="@array/hardware_keys_action_values"
+            android:persistent="false" />
+
+        <ListPreference
             android:key="navigation_recents_long_press"
             android:dialogTitle="@string/navigation_bar_recents_title"
             android:title="@string/navigation_bar_recents_title"