omni: overlay: set config_overrideHasPermanentMenuKey default to no key

dont rely on the autodetect method cause it relies
on !wm.hasNavigationBar() but there are hw button devices
that dont have a menu button.

Basically this API is only used from ancient apps that use
it to check if a menu is shown or not. But we always want
them to force to show it to prevents problems

Change-Id: I8976f772d5801612bac3bdddeecc314560b51c4e
diff --git a/overlay/common/frameworks/base/core/res/res/values/config.xml b/overlay/common/frameworks/base/core/res/res/values/config.xml
index c01359f..4951467 100644
--- a/overlay/common/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/common/frameworks/base/core/res/res/values/config.xml
@@ -21,5 +21,12 @@
          with HWC 2.0 or higher. -->
     <bool name="config_nightDisplayAvailable">true</bool>
 
+    <!-- Override the default detection behavior for the framework method
+    android.view.ViewConfiguration#hasPermanentMenuKey().
+    Valid settings are:
+    0 - No change. Use the default autodetection behavior.
+    1 - The device DOES have a permanent menu key; ignore autodetection.
+    2 - The device DOES NOT have a permanent menu key; ignore autodetection. -->
+    <integer name="config_overrideHasPermanentMenuKey">2</integer>
 </resources>