vendor: overlays update
-enable nightdisplay
-enable DocumentsUI as a Files app
Change-Id: I9582bd6ed9e8a14e372758ad1d99f5426ec58423
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 481ab4d..c01359f 100644
--- a/overlay/common/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/common/frameworks/base/core/res/res/values/config.xml
@@ -17,5 +17,9 @@
<bool name="config_cellBroadcastAppLinks">true</bool>
+ <!-- Control whether Night display is available. This should only be enabled on devices
+ with HWC 2.0 or higher. -->
+ <bool name="config_nightDisplayAvailable">true</bool>
+
</resources>
diff --git a/overlay/common/frameworks/base/packages/DocumentsUI/res/values/config.xml b/overlay/common/frameworks/base/packages/DocumentsUI/res/values/config.xml
new file mode 100644
index 0000000..14183d5
--- /dev/null
+++ b/overlay/common/frameworks/base/packages/DocumentsUI/res/values/config.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2016 The Omnirom 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.
+-->
+
+<resources>
+ <!-- Flags setup as productivity oriented in which case Downloads app will be presented
+ as Files app. Including showing of the Documents and "advanced" roots. -->
+ <bool name="productivity_device">true</bool>
+
+</resources>