aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Blaesius <skate4life@gmx.de>2016-10-30 11:30:30 +0100
committerAndreas Blaesius <skate4life@gmx.de>2016-10-30 11:30:30 +0100
commit19cb68ace5eea41a8ab37c8ad9ef310143e7fb25 (patch)
treea99660a09f1453c7ed569d67b4b9a9296b1c8195
parent5fb59c1e26d379044636a632c71188f06fe9375a (diff)
downloaddevice_samsung_espressowifi-19cb68ace5eea41a8ab37c8ad9ef310143e7fb25.zip
device_samsung_espressowifi-19cb68ace5eea41a8ab37c8ad9ef310143e7fb25.tar.gz
device_samsung_espressowifi-19cb68ace5eea41a8ab37c8ad9ef310143e7fb25.tar.bz2
Cleanup AOSP overlay
Change-Id: I9df9a5720568b21a128a625f01aa53e769ca76a9
-rw-r--r--overlay/aosp-common/frameworks/base/core/res/res/values-large/config.xml23
-rw-r--r--overlay/aosp-common/frameworks/base/core/res/res/values-sw600dp/config.xml23
-rw-r--r--overlay/aosp-common/frameworks/base/core/res/res/values/config.xml42
-rw-r--r--overlay/aosp-common/frameworks/base/packages/SettingsProvider/res/values/defaults.xml21
-rw-r--r--overlay/aosp-common/packages/apps/Settings/res/values/bools.xml4
5 files changed, 6 insertions, 107 deletions
diff --git a/overlay/aosp-common/frameworks/base/core/res/res/values-large/config.xml b/overlay/aosp-common/frameworks/base/core/res/res/values-large/config.xml
deleted file mode 100644
index f37c798..0000000
--- a/overlay/aosp-common/frameworks/base/core/res/res/values-large/config.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-/*
-** Copyright 2009, 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. Do not translate. -->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <integer name="config_longPressOnPowerBehavior">1</integer>
-</resources>
diff --git a/overlay/aosp-common/frameworks/base/core/res/res/values-sw600dp/config.xml b/overlay/aosp-common/frameworks/base/core/res/res/values-sw600dp/config.xml
deleted file mode 100644
index f37c798..0000000
--- a/overlay/aosp-common/frameworks/base/core/res/res/values-sw600dp/config.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-/*
-** Copyright 2009, 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. Do not translate. -->
-<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <integer name="config_longPressOnPowerBehavior">1</integer>
-</resources>
diff --git a/overlay/aosp-common/frameworks/base/core/res/res/values/config.xml b/overlay/aosp-common/frameworks/base/core/res/res/values/config.xml
index 673a541..103620f 100644
--- a/overlay/aosp-common/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/aosp-common/frameworks/base/core/res/res/values/config.xml
@@ -21,12 +21,6 @@
for different hardware and product builds. Do not translate. -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <!-- Flag indicating whether the surface flinger has limited
- alpha compositing functionality in hardware. If set, the window
- manager will disable alpha trasformation in animations where not
- strictly needed. -->
- <bool name="config_sf_limitedAlpha">true</bool>
-
<!-- List of regexpressions describing the interface (if any) that represent tetherable
USB interfaces. If the device doesn't want to support tething over USB this should
be empty. An example would be "usb.*" -->
@@ -48,9 +42,6 @@
<item>"bt-pan"</item>
</string-array>
- <!-- Boolean indicating whether the wifi chipset has dual frequency band support -->
- <bool translatable="false" name="config_wifi_dual_band_support">true</bool>
-
<!-- Boolean indicating whether the wifi chipset supports background scanning mechanism.
This mechanism allows the host to remain in suspend state and the dongle to actively
scan and wake the host when a configured SSID is detected by the dongle. This chipset
@@ -64,35 +55,9 @@
<!-- If this is true, the screen will come on when you unplug usb/power/whatever. -->
<bool name="config_unplugTurnsOnScreen">true</bool>
- <!-- If this is true, the screen will fade off. -->
- <bool name="config_animateScreenLights">true</bool>
-
- <!-- If true, the screen can be rotated via the accelerometer in all 4
- rotations as the default behavior. -->
- <bool name="config_allowAllRotations">true</bool>
-
<!-- Indicate whether the SD card is accessible without removing the battery. -->
<bool name="config_batterySdCardAccessibility">true</bool>
- <!-- Vibrator pattern for feedback about a long screen/key press -->
- <integer-array name="config_longPressVibePattern">
- <item>20</item>
- <item>40</item>
- </integer-array>
-
- <!-- Vibrator pattern for feedback about touching a virtual key -->
- <integer-array name="config_virtualKeyVibePattern">
- <item>0</item>
- <item>15</item>
- <item>25</item>
- <item>35</item>
- </integer-array>
-
- <!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap -->
- <integer-array name="config_keyboardTapVibePattern">
- <item>50</item>
- </integer-array>
-
<!-- Screen brightness used to dim the screen when the user activity
timeout expires. May be less than the minimum allowed brightness setting
that can be set by the user. -->
@@ -211,9 +176,8 @@
<!-- Array of output values for keyboard backlight corresponding to the LUX values
in the config_autoBrightnessLevels array. This array should have size one greater
than the size of the config_autoBrightnessLevels array.
-
- Note: Galaxy Tab 2 has no keyboard so all values are zero.
- -->
+ The brightness values must be between 0 and 255 and be non-decreasing.
+ This must be overridden in platform specific overlays -->
<integer-array name="config_autoBrightnessKeyboardBacklightValues">
<item>0</item>
<item>0</item>
@@ -244,6 +208,8 @@
<!-- Maximum number of supported users -->
<integer name="config_multiuserMaximumUsers">5</integer>
+
<!-- Whether UI for multi user should be shown -->
<bool name="config_enableMultiUserUI">true</bool>
+
</resources>
diff --git a/overlay/aosp-common/frameworks/base/packages/SettingsProvider/res/values/defaults.xml b/overlay/aosp-common/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
deleted file mode 100644
index ba79867..0000000
--- a/overlay/aosp-common/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-/**
- * Copyright (c) 2009, 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.
- */
--->
-<resources>
- <bool name="def_screen_brightness_automatic_mode">true</bool>
-</resources>
diff --git a/overlay/aosp-common/packages/apps/Settings/res/values/bools.xml b/overlay/aosp-common/packages/apps/Settings/res/values/bools.xml
index f649186..bc8d564 100644
--- a/overlay/aosp-common/packages/apps/Settings/res/values/bools.xml
+++ b/overlay/aosp-common/packages/apps/Settings/res/values/bools.xml
@@ -4,9 +4,9 @@
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.