summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Mahaveer <vishalm@ti.com>2016-09-06 17:34:40 -0400
committerVishal Mahaveer <vishalm@ti.com>2016-09-06 17:59:37 -0400
commitd0e55148e19bb6ba3401b6ad913154697cb65af0 (patch)
treeca699fe90aef77d2f28c36178166539d0ef4e496
parentff771bbc38e9a8ed13f004b527a09ed1600cd4d7 (diff)
downloadjacinto6evm-d0e55148e19bb6ba3401b6ad913154697cb65af0.tar.gz
jacinto6evm: changes for defining auto platform
Define the default uitype to car[1] and define the hardware as automotive type. [1] https://developer.android.com/reference/android/content/res/Configuration.html#UI_MODE_TYPE_CAR Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml9
-rw-r--r--tablet_core_hardware_jacinto6evm.xml1
2 files changed, 10 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 009fd1f..efaf79e 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -101,4 +101,13 @@
-->
<bool name="config_enableWifiDisplay">true</bool>
+ <!-- Control the default UI mode type to use when there is no other type override
+ happening. One of the following values (See Configuration.java):
+ 1 UI_MODE_TYPE_NORMAL
+ 4 UI_MODE_TYPE_TELEVISION
+ 5 UI_MODE_TYPE_APPLIANCE
+ 6 UI_MODE_TYPE_WATCH
+ Any other values will have surprising consequences. -->
+ <integer name="config_defaultUiModeType">3</integer>
+
</resources>
diff --git a/tablet_core_hardware_jacinto6evm.xml b/tablet_core_hardware_jacinto6evm.xml
index e74afc1..eca9205 100644
--- a/tablet_core_hardware_jacinto6evm.xml
+++ b/tablet_core_hardware_jacinto6evm.xml
@@ -33,4 +33,5 @@
<!-- Feature to specify if the device supports adding device admins. -->
<feature name="android.software.device_admin" />
<feature name="android.software.backup" />
+ <feature name="android.hardware.type.automotive" />
</permissions>