Disable HFR during bringup

We lack the platform patches for supporting this functionality.

Change-Id: I4effaa33bf2920c097e8bdb5c7fb53e23f812394
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
diff --git a/res/xml/setting_menu_preferences.xml b/res/xml/setting_menu_preferences.xml
index a6526de..b7b1ee1 100755
--- a/res/xml/setting_menu_preferences.xml
+++ b/res/xml/setting_menu_preferences.xml
@@ -241,6 +241,7 @@
             android:summary="%s"
             android:title="@string/pref_video_time_lapse_frame_interval_title" />
 
+<!--
         <ListPreference
             android:defaultValue="@string/pref_camera_hfr_default"
             android:entries="@array/pref_camera_hfr_entries"
@@ -249,6 +250,7 @@
             android:key="pref_camera2_hfr_key"
             android:summary="%s"
             android:title="@string/pref_camera_hfr_title" />
+-->
     </PreferenceCategory>
 
     <PreferenceCategory
diff --git a/src/com/android/camera/CameraSettings.java b/src/com/android/camera/CameraSettings.java
index 666551e..0d43759 100755
--- a/src/com/android/camera/CameraSettings.java
+++ b/src/com/android/camera/CameraSettings.java
@@ -1386,6 +1386,7 @@
     public static List<String> getSupportedHighFrameRateModes(Parameters params) {
         ArrayList<String> supported = new ArrayList<>();
         if (params == null) return supported;
+        /*
         List<String> supportedModes = params.getSupportedVideoHighFrameRateModes();
         if (supportedModes == null) return supported;
 
@@ -1400,6 +1401,7 @@
                 }
             }
         }
+        */
         return supported;
     }