Lock ATV UI mode to prevent Car Mode tests from running + failing

ATV will refuse to go into any other UI mode than TV UI mode. In
a future version of Android we can just rely on this flag instead-
for now we add the flag to make tests pass, but the actual
behaviour doesn't change because it was already correct.

Change-Id: I7aa546ed6e93e5404668a2883dfeeb936bc0ab1e
Test: atest android.app.cts.UiModeManagerTest
Fix: 158358991
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 19f31de..d63eaf3 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -37,6 +37,10 @@
          Any other values will have surprising consequences. -->
     <integer name="config_defaultUiModeType">4</integer>
 
+    <!--  Control whether to lock UI mode to what is selected from config_defaultUiModeType.
+          Once UI mode is locked, applications cannot change it anymore. -->
+    <bool name="config_lockUiMode">true</bool>
+
     <!-- default device has recents property -->
     <bool name="config_hasRecents">false</bool>