summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2016-01-14 10:53:42 -0600
committerRob Herring <robh@kernel.org>2016-01-15 10:04:41 -0600
commit2056d925d7336a8e4add09ae0cdbf01c13c24c68 (patch)
tree99e593104070ebc0123cf9cd175a5a11a0a9b8c6
parentc5a20ffb3bc8afd83c483fabb4dcd7ee1240517d (diff)
downloadgeneric-2056d925d7336a8e4add09ae0cdbf01c13c24c68.tar.gz
Enable on-screen navigation bar
Signed-off-by: Rob Herring <robh@kernel.org>
-rw-r--r--device.mk2
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml28
2 files changed, 30 insertions, 0 deletions
diff --git a/device.mk b/device.mk
index 7dd82a9..bce41e7 100644
--- a/device.mk
+++ b/device.mk
@@ -22,6 +22,8 @@ PRODUCT_DEVICE := $(TARGET_PRODUCT)
PRODUCT_BRAND := Android
PRODUCT_MODEL := AOSP
+DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
+
PRODUCT_PACKAGES += \
libGLES_mesa \
libGLES_android \
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
new file mode 100644
index 0000000..09b82f0
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright 2012, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<!-- These resources are around just to allow their values to be customized
+ for different hardware and product builds. -->
+<resources>
+
+ <!-- Whether a software navigation bar should be shown. NOTE: in the future this may be
+ autodetected from the Configuration. -->
+ <bool name="config_showNavigationBar">true</bool>
+
+</resources>