aboutsummaryrefslogtreecommitdiff
path: root/overlay
diff options
context:
space:
mode:
authordavidevinavil <davidevinavil@gmail.com>2017-01-10 01:17:12 +0100
committerdavidevinavil <davidevinavil@gmail.com>2017-01-10 01:17:12 +0100
commit51fe6eb1975b0978ebe8eaa9cf8a7e4d01d2525b (patch)
tree5c0e8a8d34fed898419b51ea713ffe6e14de4cbf /overlay
parentcd76c9bd31278b7608bab7bcfaddba49566ca440 (diff)
add key overlay thanks to Fedor
Change-Id: I88ad7e899b36d4660b116aaa1e5b8a13a1dcfb1b
Diffstat (limited to 'overlay')
-rw-r--r--[-rwxr-xr-x]overlay/frameworks/base/core/res/res/values/config.xml401
-rw-r--r--overlay/packages/apps/Settings/res/values-cs/rr_strings.xml25
-rw-r--r--overlay/packages/apps/Settings/res/values-de/rr_strings.xml25
-rw-r--r--overlay/packages/apps/Settings/res/values-el/rr_strings.xml25
-rw-r--r--overlay/packages/apps/Settings/res/values-es/rr_strings.xml25
-rw-r--r--overlay/packages/apps/Settings/res/values-fr/rr_strings.xml25
-rw-r--r--overlay/packages/apps/Settings/res/values-hu/rr_strings.xml25
-rw-r--r--overlay/packages/apps/Settings/res/values-it/rr_strings.xml25
-rw-r--r--overlay/packages/apps/Settings/res/values-ja/rr_strings.xml25
-rw-r--r--overlay/packages/apps/Settings/res/values-nl/rr_strings.xml25
-rw-r--r--overlay/packages/apps/Settings/res/values-pl/rr_strings.xml25
-rw-r--r--overlay/packages/apps/Settings/res/values-pt-rBR/rr_strings.xml25
-rw-r--r--overlay/packages/apps/Settings/res/values-pt-rPT/rr_strings.xml25
-rw-r--r--overlay/packages/apps/Settings/res/values-ru/rr_strings.xml25
-rw-r--r--overlay/packages/apps/Settings/res/values-sk/rr_strings.xml25
-rw-r--r--overlay/packages/apps/Settings/res/values-tr/rr_strings.xml25
-rw-r--r--overlay/packages/apps/Settings/res/values-uk/rr_strings.xml25
-rw-r--r--overlay/packages/apps/Settings/res/values-vi/rr_strings.xml25
-rw-r--r--overlay/packages/apps/Settings/res/values-zh-rCN/rr_strings.xml25
-rw-r--r--overlay/packages/apps/Settings/res/values-zh-rHK/rr_strings.xml25
-rw-r--r--overlay/packages/apps/Settings/res/values-zh-rTW/rr_strings.xml25
-rw-r--r--overlay/packages/apps/Settings/res/values/rr_strings.xml25
-rw-r--r--overlay/packages/apps/Settings/res/xml/rr_hw_keys.xml172
23 files changed, 973 insertions, 125 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index ff4130c..abb2ea8 100755..100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -1,23 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
-<!--
-/*
-** Copyright 2013, 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.
-*/
+<!-- 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.
-->
+<!-- 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">
+ <!-- Flag indicating whether the we should enable the automatic brightness in Settings.
+ Software implementation will be used if config_hardware_auto_brightness_available is not set -->
+ <bool name="config_automatic_brightness_available">true</bool>
<!-- Array of light sensor LUX values to define our levels for auto backlight brightness support.
The N entries of this array define N 1 zones as follows:
@@ -64,19 +66,34 @@
<item>255</item>
</integer-array>
- <!-- Minimum screen brightness allowed by the power manager. -->
- <integer name="config_screenBrightnessDim">6</integer>
+ <!-- Array of output values for button 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.
+ 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_autoBrightnessButtonBacklightValues">
+ </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. -->
+ <integer name="config_screenBrightnessDim">1</integer>
+
+ <!-- Default screen brightness setting.
+ Must be in the range specified by minimum and maximum. -->
+ <integer name="config_screenBrightnessSettingDefault">53</integer>
<!-- Minimum screen brightness setting allowed by the power manager.
The user is forbidden from setting the brightness below this level. -->
<integer name="config_screenBrightnessSettingMinimum">1</integer>
- <!-- Default screen brightness setting.
- Must be in the range specified by minimum and maximum. -->
- <integer name="config_screenBrightnessSettingDefault">53</integer>
<!-- If this is true, the screen will come on when you unplug usb/power/whatever. -->
<bool name="config_unplugTurnsOnScreen">true</bool>
+ <!-- Boolean indicating if restoring network selection should be skipped -->
+ <!-- The restoring is handled by modem if it is true-->
+ <bool translatable="false" name="skip_restoring_network_selection">true</bool>
+
<!-- Vibrator pattern for feedback about a long screen/key press -->
<integer-array name="config_longPressVibePattern">
<item>0</item>
@@ -98,58 +115,73 @@
<item>40</item>
</integer-array>
- <!-- When true use the linux /dev/input/event subsystem to detect the switch changes
- on the headphone/microphone jack. When false use the older uevent framework -->
- <bool name="config_useDevInputEventForAudioJack">true</bool>
+ <!-- Hardware keys present on the device, stored as a bit field.
+ This integer should equal the sum of the corresponding value for each
+ of the following keys present:
+ 1 - Home
+ 2 - Back
+ 4 - Menu
+ 8 - Assistant (search)
+ 16 - App switch
+ 32 - Camera
+ 64 - Volume rocker
+ For example, a device with Home, Back and Menu keys would set this
+ config to 7. -->
+ <integer name="config_deviceHardwareKeys">87</integer>
+
+ <!-- Hardware keys present on the device with the ability to wake, stored as a bit field.
+ This integer should equal the sum of the corresponding value for each
+ of the following keys present:
+ 1 - Home
+ 2 - Back
+ 4 - Menu
+ 8 - Assistant (search)
+ 16 - App switch
+ 32 - Camera
+ 64 - Volume rocker
+ For example, a device with Home, Back and Menu keys would set this
+ config to 7. -->
+ <integer name="config_deviceHardwareWakeKeys">65</integer>
+
+ <!-- Control the behavior when the user long presses the home button
+ 0 - Nothing
+ 1 - Menu key
+ 2 - Recent apps view in SystemUI
+ 3 - Launch assist intent
+ 4 - Voice Search
+ 5 - In-app Search
+ This needs to match the constants in
+ policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
+ -->
+ <integer name="config_longPressOnHomeBehavior">2</integer>
+
+ <!-- Control the behavior when the user double tap the home button
+ 0 - Nothing
+ 1 - Menu key
+ 2 - Recent apps view in SystemUI
+ 3 - Launch assist intent
+ 4 - Voice Search
+ 5 - In-app Search
+ This needs to match the constants in
+ policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
+ -->
+ <integer name="config_doubleTapOnHomeBehavior">6</integer>
<!-- Set to true to add links to Cell Broadcast app from Settings and MMS app. -->
<bool name="config_cellBroadcastAppLinks">true</bool>
- <!-- Boolean indicating whether the wifi chipset has dual frequency band support -->
- <bool translatable="false" name="config_wifi_dual_band_support">true</bool>
-
- <!-- Wifi driver supports batched scan -->
- <bool translatable="false" name="config_wifi_batched_scan_supported">true</bool>
+ <!-- MMS user agent string -->
+ <string name="config_mms_user_agent" translatable="false">Android-Mms/2.0</string>
- <!-- 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
- capability can provide power savings when wifi needs to be always kept on. -->
- <bool translatable="false" name="config_wifi_background_scan_support">true</bool>
+ <!-- MMS user agent prolfile url -->
+ <string name="config_mms_user_agent_profile_url" translatable="false"
+ >http://www.google.com/oha/rdf/ua-profile-kila.xml</string>
- <!-- This string array should be overridden by the device to present a list of network
- attributes. This is used by the connectivity manager to decide which networks can coexist
- based on the hardware -->
- <!-- An Array of "[Connection name],[ConnectivityManager.TYPE_xxxx],
- [associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet] -->
- <!-- the 5th element "resore-time" indicates the number of milliseconds to delay
- before automatically restore the default connection. Set -1 if the connection
- does not require auto-restore. -->
- <!-- the 6th element indicates boot-time dependency-met value. -->
- <string-array translatable="false" name="networkAttributes">
- <item>wifi,1,1,1,-1,true</item>
- <item>mobile,0,0,0,-1,true</item>
- <item>mobile_mms,2,0,4,300000,true</item>
- <item>mobile_supl,3,0,2,300000,true</item>
- <item>mobile_dun,4,0,2,300000,true</item>
- <item>mobile_hipri,5,0,3,300000,true</item>
- <item>mobile_fota,10,0,2,300000,true</item>
- <item>mobile_ims,11,0,2,300000,true</item>
- <item>mobile_cbs,12,0,2,300000,true</item>
- <item>bluetooth,7,7,2,-1,true</item>
- <item>ethernet,9,9,9,-1,true</item>
- </string-array>
+ <!-- Is the notification LED intrusive? Used to decide if there should be a disable option -->
+ <bool name="config_intrusiveNotificationLed">true</bool>
- <!-- This string array should be overridden by the device to present a list of radio
- attributes. This is used by the connectivity manager to decide which networks can coexist
- based on the hardware -->
- <!-- An Array of "[ConnectivityManager connectionType],
- [# simultaneous connection types]" -->
- <string-array translatable="false" name="radioAttributes">
- <item>"1,1"</item>
- <item>"0,1"</item>
- <item>"7,1"</item>
- </string-array>
+ <!-- Is the battery LED intrusive? Used to decide if there should be a disable option -->
+ <bool name="config_intrusiveBatteryLed">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
@@ -164,6 +196,7 @@
should be empty. An example would be "softap.*" -->
<string-array translatable="false" name="config_tether_wifi_regexs">
<item>"wlan0"</item>
+ <item>"wigig0"</item>
</string-array>
<!-- List of regexpressions describing the interface (if any) that represent tetherable
@@ -174,33 +207,82 @@
<item>"bt-pan"</item>
</string-array>
- <!-- Array of ConnectivityManager.TYPE_xxxx values allowable for tethering -->
+ <!-- Array of allowable ConnectivityManager network types for tethering -->
<!-- Common options are [1, 4] for TYPE_WIFI and TYPE_MOBILE_DUN or
- <!== [0,1,5,7] for TYPE_MOBILE, TYPE_WIFI, TYPE_MOBILE_HIPRI and TYPE_BLUETOOTH -->
+ [0,1,5,7] for TYPE_MOBILE, TYPE_WIFI, TYPE_MOBILE_HIPRI and TYPE_BLUETOOTH -->
<integer-array translatable="false" name="config_tether_upstream_types">
<item>0</item>
<item>1</item>
- <item>4</item>
<item>5</item>
<item>7</item>
</integer-array>
- <!-- Boolean indicddating if restoring network selection should be skipped -->
- <!-- The restoring is handled by modem if it is true -->
- <bool name="skip_restoring_network_selection">false</bool>
-
- <!-- MMS user agent string -->
- <string name="config_mms_user_agent" translatable="false">Android-Mms/2.0</string>
-
- <!-- MMS user agent prolfile url -->
- <string name="config_mms_user_agent_profile_url" translatable="false"
- >http://www.google.com/oha/rdf/ua-profile-kila.xml</string>
+ <!-- Dhcp range (min, max) to use for tethering purposes -->
+ <!-- USB is 192.168.42.1 and 255.255.255.0
+ Wifi is 192.168.43.1 and 255.255.255.0
+ BT is limited to max default of 5 connections. 192.168.44.1 to 192.168.48.1
+ with 255.255.255.0
+ P2P is 192.168.49.1 and 255.255.255.0
+ Wigig is 192.168.50.1 and 255.255.255.0
+ Wigig P2P is 192.168.51.1 and 255.255.255.0
+ -->
+ <string-array name="config_tether_dhcp_range">
+ <item>192.168.42.2</item>
+ <item>192.168.42.254</item>
+ <item>192.168.43.2</item>
+ <item>192.168.43.254</item>
+ <item>192.168.44.2</item>
+ <item>192.168.44.254</item>
+ <item>192.168.45.2</item>
+ <item>192.168.45.254</item>
+ <item>192.168.46.2</item>
+ <item>192.168.46.254</item>
+ <item>192.168.47.2</item>
+ <item>192.168.47.254</item>
+ <item>192.168.48.2</item>
+ <item>192.168.48.254</item>
+ <item>192.168.49.2</item>
+ <item>192.168.49.254</item>
+ <item>192.168.50.2</item>
+ <item>192.168.50.254</item>
+ <item>192.168.51.2</item>
+ <item>192.168.51.254</item>
+ </string-array>
- <!-- Flag indicating if the speed up audio on mt call code should be executed -->
- <bool name="config_speed_up_audio_on_mt_calls">true</bool>
+ <!-- This string array should be overridden by the device to present a list of network
+ attributes. This is used by the connectivity manager to decide which networks can coexist
+ based on the hardware -->
+ <!-- An Array of "[Connection name],[ConnectivityManager.TYPE_xxxx],
+ [associated radio-type],[priority],[restoral-timer(ms)],[dependencyMet] -->
+ <!-- the 5th element "resore-time" indicates the number of milliseconds to delay
+ before automatically restore the default connection. Set -1 if the connection
+ does not require auto-restore. -->
+ <!-- the 6th element indicates boot-time dependency-met value. -->
+ <string-array translatable="false" name="networkAttributes">
+ <item>wifi,1,1,1,-1,true</item>
+ <item>mobile,0,0,0,-1,true</item>
+ <item>mobile_mms,2,0,4,300000,true</item>
+ <item>mobile_supl,3,0,2,300000,true</item>
+ <item>mobile_dun,4,0,2,300000,true</item>
+ <item>mobile_hipri,5,0,3,300000,true</item>
+ <item>mobile_fota,10,0,2,300000,true</item>
+ <item>mobile_ims,11,0,2,300000,true</item>
+ <item>mobile_cbs,12,0,2,300000,true</item>
+ <item>bluetooth,7,7,2,-1,true</item>
+ <item>ethernet,9,9,4,-1,true</item>
+ </string-array>
- <!-- If this is true, the screen will come on when you unplug usb/power/whatever. -->
- <bool name="config_unplugTurnsOnScreen">true</bool>
+ <!-- This string array should be overridden by the device to present a list of radio
+ attributes. This is used by the connectivity manager to decide which networks can coexist
+ based on the hardware -->
+ <!-- An Array of "[ConnectivityManager connectionType],
+ [# simultaneous connection types]" -->
+ <string-array translatable="false" name="radioAttributes">
+ <item>"1,1"</item>
+ <item>"0,1"</item>
+ <item>"7,1"</item>
+ <item>"9,1"</item>
+ </string-array>
<!-- Whether WiFi display is supported by this device.
There are many prerequisites for this feature to work correctly.
@@ -220,21 +302,33 @@
in gralloc protected buffers. For this to be true, there must exist
a protected hardware path for surface flinger to composite and send
protected buffers to the wifi display video encoder.
-
If this flag is false, we advise applications not to use protected
buffers (if possible) when presenting content to a wifi display because
the content may be blanked.
-
This flag controls whether the {@link Display#FLAG_SUPPORTS_PROTECTED_BUFFERS}
flag is set for wifi displays.
-->
<bool name="config_wifiDisplaySupportsProtectedBuffers">true</bool>
- <!-- Device specific options -->
+ <!-- Boolean indicating whether the wifi chipset has dual frequency band support -->
+ <bool translatable="false" name="config_wifi_dual_band_support">true</bool>
- <!-- Flag indicating whether the we should enable the automatic brightness in Settings.
- Software implementation will be used if config_hardware_auto_brightness_available is not set -->
- <bool name="config_automatic_brightness_available">true</bool>
+ <!-- Boolean indicating whether Hotspot 2.0/Passpoint and ANQP queries is enabled -->
+ <bool translatable="false" name="config_wifi_hotspot2_enabled">true</bool>
+
+ <!-- Boolean indicating whether the wifi chipset has background scan support -->
+ <bool translatable="false" name="config_wifi_background_scan_support">true</bool>
+
+ <!-- Wifi driver supports batched scan -->
+ <bool translatable="false" name="config_wifi_batched_scan_supported">true</bool>
+
+ <!-- Configure wifi tcp buffersizes in the form:
+ rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
+ <string name="config_wifi_tcp_buffers" translatable="false">524288,1048576,2097152,262144,524288,1048576</string>
+
+ <!-- When true use the linux /dev/input/event subsystem to detect the switch changes
+ on the headphone/microphone jack. When false use the older uevent framework. -->
+ <bool name="config_useDevInputEventForAudioJack">true</bool>
<!-- Indicate whether closing the lid causes the device to go to sleep and opening
it causes the device to wake up.
@@ -248,58 +342,83 @@
The default is false. -->
<bool name="config_suspendWhenScreenOffDueToProximity">true</bool>
- <!-- Is the device capable of hot swapping an ICC Card -->
- <bool name="config_hotswapCapable">true</bool>
-
- <!-- Flag specifying whether VoLTE & VT is available on device -->
- <bool name="config_device_volte_available">true</bool>
-
- <!-- Flag specifying whether VoLTE should be available for carrier: independent of
- carrier provisioning. If false: hard disabled. If true: then depends on carrier
- provisioning, availability etc -->
- <bool name="config_carrier_volte_available">true</bool>
-
- <!-- Flag specifying whether VoLTE TTY is supported -->
- <bool name="config_carrier_volte_tty_supported">false</bool>
+ <!-- Enables or disables fading edges when marquee is enabled in TextView.
+ Off by default, since the framebuffer readback used to implement the
+ fading edges is prohibitively expensive on most GPUs. -->
+ <bool name="config_ui_enableFadingMarquee">false</bool>
<!-- Maximum number of supported users -->
<integer name="config_multiuserMaximumUsers">4</integer>
+
<!-- Whether Multiuser UI should be shown -->
<bool name="config_enableMultiUserUI">true</bool>
- <!-- Config determines whether to update phone object when voice registration
- state changes. Voice radio tech change will always trigger an update of
- phone object irrespective of this config -->
- <bool name="config_switch_phone_on_voice_reg_state_change">false</bool>
- <!-- Define Google play service package for FRP-->
- <string name="config_persistentDataPackageName" translatable="false">com.google.android.gms</string>
+ <!-- ComponentName of a dream to show whenever the system would otherwise have
+ gone to sleep. When the PowerManager is asked to go to sleep, it will instead
+ try to start this dream if possible. The dream should typically call startDozing()
+ to put the display into a low power state and allow the application processor
+ to be suspended. When the dream ends, the system will go to sleep as usual.
+ Specify the component name or an empty string if none.
- <!-- Screen brightness used to dim the screen while dozing in a very low power state.
- May be less than the minimum allowed brightness setting
- that can be set by the user. -->
- <integer name="config_screenBrightnessDoze">17</integer>
+ Note that doze dreams are not subject to the same start conditions as ordinary dreams.
+ Doze dreams will run whenever the power manager is in a dozing state. -->
+ <string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
<!-- If true, the doze component is not started until after the screen has been
- turned off and the screen off animation has been performed. -->
+ turned off and the screen off animation has been performed. -->
<bool name="config_dozeAfterScreenOff">true</bool>
+ <!-- Power Management: Specifies whether to decouple the auto-suspend state of the
+ device from the display on/off state.
+
+ When false, autosuspend_disable() will be called before the display is turned on
+ and autosuspend_enable() will be called after the display is turned off.
+ This mode provides best compatibility for devices using legacy power management
+ features such as early suspend / late resume.
+
+ When true, autosuspend_display() and autosuspend_enable() will be called
+ independently of whether the display is being turned on or off. This mode
+ enables the power manager to suspend the application processor while the
+ display is on.
+
+ This resource should be set to "true" when a doze component has been specified
+ to maximize power savings but not all devices support it.
+
+ Refer to autosuspend.h for details.
+ -->
+ <bool name="config_powerDecoupleAutoSuspendModeFromDisplay">false</bool>
+
<!-- Power Management: Specifies whether to decouple the interactive state of the
device from the display on/off state.
+
When false, setInteractive(..., true) will be called before the display is turned on
and setInteractive(..., false) will be called after the display is turned off.
This mode provides best compatibility for devices that expect the interactive
state to be tied to the display state.
+
When true, setInteractive(...) will be called independently of whether the display
is being turned on or off. This mode enables the power manager to reduce
clocks and disable the touch controller while the display is on.
+
This resource should be set to "true" when a doze component has been specified
to maximize power savings but not all devices support it.
+
Refer to power.h for details.
-->
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
- <string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
+ <!-- Screen brightness used to dim the screen while dozing in a very low power state.
+ May be less than the minimum allowed brightness setting
+ that can be set by the user. -->
+ <integer name="config_screenBrightnessDoze">17</integer>
+ <!-- Whether device supports double tap to wake -->
+ <bool name="config_supportDoubleTapWake">true</bool>
+
+ <!-- Configure mobile tcp buffer sizes in the form:
+ rat-name:rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max
+ If no value is found for the rat-name in use, the system default will be applied.
+ -->
<string-array name="config_mobile_tcp_buffers">
<item>lte:2097152,4194304,8388608,262144,524288,1048576</item>
<item>lte_ca:2097152,4194304,8388608,4096,1048576,2097152</item>
@@ -313,15 +432,31 @@
<item>evdo:4094,87380,524288,4096,16384,262144</item>
</string-array>
- <!-- Configure wifi tcp buffersizes in the form:
- rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
- <string name="config_wifi_tcp_buffers" translatable="false">524288,1048576,2097152,262144,524288,1048576</string>
+ <!-- Flag specifying whether VoLTE TTY is supported -->
+ <bool name="config_carrier_volte_tty_supported">false</bool>
+
+ <!-- Flag specifying whether VoLTE is available on device -->
+ <bool name="config_device_volte_available">true</bool>
+
+ <!-- Flag specifying whether VoLTE should be available for carrier: independent of
+ carrier provisioning. If false: hard disabled. If true: then depends on carrier
+ provisioning, availability etc -->
+ <bool name="config_carrier_volte_available">true</bool>
+
+ <!-- Config determines whether to update phone object when voice registration
+ state changes. Voice radio tech change will always trigger an update of
+ phone object irrespective of this config -->
+ <bool name="config_switch_phone_on_voice_reg_state_change">false</bool>
<!-- Boolean indicating if current platform supports BLE peripheral mode -->
<bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
- <!-- Operating volatage for bluetooth controller. -->
- <integer name="config_bluetooth_operating_voltage_mv">3300</integer>
+ <!-- Is the device capable of hot swapping an ICC Card -->
+ <bool name="config_hotswapCapable">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>
<!-- Set this to true to enable the platform's auto-power-save modes like doze and
app standby. These are not enabled by default because they require a standard
@@ -332,15 +467,32 @@
so that applications can still use their own mechanisms. -->
<bool name="config_enableAutoPowerModes">true</bool>
- <!-- Whether device supports double tap to wake -->
- <bool name="config_supportDoubleTapWake">true</bool>
+ <!-- Integer parameters of the wifi to cellular handover feature
+ wifi should not stick to bad networks -->
+ <integer name="config_wifi_framework_wifi_score_bad_rssi_threshold_5GHz">-100</integer>
+ <integer name="config_wifi_framework_wifi_score_low_rssi_threshold_5GHz">-100</integer>
+ <integer name="config_wifi_framework_wifi_score_bad_rssi_threshold_24GHz">-100</integer>
+ <integer name="config_wifi_framework_wifi_score_low_rssi_threshold_24GHz">-100</integer>
+
+ <!-- Flag indicating if the speed up audio on mt call code should be executed -->
+ <bool name="config_speed_up_audio_on_mt_calls">true</bool>
+
+ <!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. -->
+ <integer name="config_shutdownBatteryTemperature">600</integer>
+
+ <!-- Operating volatage for bluetooth controller. 0 by default-->
+ <integer name="config_bluetooth_operating_voltage_mv">3300</integer>
<!-- Enable overlay for all location components. -->
<string name="config_networkLocationProviderPackageName" translatable="false">com.qualcomm.location</string>
<string name="config_fusedLocationProviderPackageName" translatable="false">com.qualcomm.location</string>
- <!-- Enable blur support
- <bool name="config_ui_blur_enabled">true</bool> -->
+ <!-- Define Google play service package for FRP-->
+ <string name="config_persistentDataPackageName" translatable="false">com.google.android.gms</string>
+
+ <!-- Support in Surfaceflinger for blur layers.
+ NOTE: This requires additional hardware-specific code. -->
+ <!--bool name="config_ui_blur_enabled">true</bool-->
<!-- Default list of files pinned by the Pinner Service -->
<string-array translatable="false" name="config_defaultPinnerServiceFiles">
@@ -348,6 +500,5 @@
<item>"/system/framework/oat/arm64/services.odex"</item>
<item>"/system/framework/arm64/boot.oat"</item>
<item>"/system/framework/arm64/boot-core-libart.oat"</item>
- </string-array>
-
+ </string-array>
</resources>
diff --git a/overlay/packages/apps/Settings/res/values-cs/rr_strings.xml b/overlay/packages/apps/Settings/res/values-cs/rr_strings.xml
new file mode 100644
index 0000000..7b06326
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values-cs/rr_strings.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The ResurrectionRemix 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Hardware button navigation -->
+ <string name="hardware_keys_home_key_title" translatable="false">Home button</string>
+ <string name="hardware_keys_menu_key_title" translatable="false">Swipe right</string>
+ <string name="hardware_keys_assist_key_title" translatable="false">Long tap</string>
+ <string name="hardware_keys_appswitch_key_title" translatable="false">Swipe left</string>
+ <string name="hardware_keys_back_key_title" translatable="false">Tap</string>
+
+</resources>
diff --git a/overlay/packages/apps/Settings/res/values-de/rr_strings.xml b/overlay/packages/apps/Settings/res/values-de/rr_strings.xml
new file mode 100644
index 0000000..7b06326
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values-de/rr_strings.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The ResurrectionRemix 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Hardware button navigation -->
+ <string name="hardware_keys_home_key_title" translatable="false">Home button</string>
+ <string name="hardware_keys_menu_key_title" translatable="false">Swipe right</string>
+ <string name="hardware_keys_assist_key_title" translatable="false">Long tap</string>
+ <string name="hardware_keys_appswitch_key_title" translatable="false">Swipe left</string>
+ <string name="hardware_keys_back_key_title" translatable="false">Tap</string>
+
+</resources>
diff --git a/overlay/packages/apps/Settings/res/values-el/rr_strings.xml b/overlay/packages/apps/Settings/res/values-el/rr_strings.xml
new file mode 100644
index 0000000..7b06326
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values-el/rr_strings.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The ResurrectionRemix 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Hardware button navigation -->
+ <string name="hardware_keys_home_key_title" translatable="false">Home button</string>
+ <string name="hardware_keys_menu_key_title" translatable="false">Swipe right</string>
+ <string name="hardware_keys_assist_key_title" translatable="false">Long tap</string>
+ <string name="hardware_keys_appswitch_key_title" translatable="false">Swipe left</string>
+ <string name="hardware_keys_back_key_title" translatable="false">Tap</string>
+
+</resources>
diff --git a/overlay/packages/apps/Settings/res/values-es/rr_strings.xml b/overlay/packages/apps/Settings/res/values-es/rr_strings.xml
new file mode 100644
index 0000000..7b06326
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values-es/rr_strings.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The ResurrectionRemix 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Hardware button navigation -->
+ <string name="hardware_keys_home_key_title" translatable="false">Home button</string>
+ <string name="hardware_keys_menu_key_title" translatable="false">Swipe right</string>
+ <string name="hardware_keys_assist_key_title" translatable="false">Long tap</string>
+ <string name="hardware_keys_appswitch_key_title" translatable="false">Swipe left</string>
+ <string name="hardware_keys_back_key_title" translatable="false">Tap</string>
+
+</resources>
diff --git a/overlay/packages/apps/Settings/res/values-fr/rr_strings.xml b/overlay/packages/apps/Settings/res/values-fr/rr_strings.xml
new file mode 100644
index 0000000..7b06326
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values-fr/rr_strings.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The ResurrectionRemix 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Hardware button navigation -->
+ <string name="hardware_keys_home_key_title" translatable="false">Home button</string>
+ <string name="hardware_keys_menu_key_title" translatable="false">Swipe right</string>
+ <string name="hardware_keys_assist_key_title" translatable="false">Long tap</string>
+ <string name="hardware_keys_appswitch_key_title" translatable="false">Swipe left</string>
+ <string name="hardware_keys_back_key_title" translatable="false">Tap</string>
+
+</resources>
diff --git a/overlay/packages/apps/Settings/res/values-hu/rr_strings.xml b/overlay/packages/apps/Settings/res/values-hu/rr_strings.xml
new file mode 100644
index 0000000..7b06326
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values-hu/rr_strings.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The ResurrectionRemix 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Hardware button navigation -->
+ <string name="hardware_keys_home_key_title" translatable="false">Home button</string>
+ <string name="hardware_keys_menu_key_title" translatable="false">Swipe right</string>
+ <string name="hardware_keys_assist_key_title" translatable="false">Long tap</string>
+ <string name="hardware_keys_appswitch_key_title" translatable="false">Swipe left</string>
+ <string name="hardware_keys_back_key_title" translatable="false">Tap</string>
+
+</resources>
diff --git a/overlay/packages/apps/Settings/res/values-it/rr_strings.xml b/overlay/packages/apps/Settings/res/values-it/rr_strings.xml
new file mode 100644
index 0000000..7b06326
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values-it/rr_strings.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The ResurrectionRemix 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Hardware button navigation -->
+ <string name="hardware_keys_home_key_title" translatable="false">Home button</string>
+ <string name="hardware_keys_menu_key_title" translatable="false">Swipe right</string>
+ <string name="hardware_keys_assist_key_title" translatable="false">Long tap</string>
+ <string name="hardware_keys_appswitch_key_title" translatable="false">Swipe left</string>
+ <string name="hardware_keys_back_key_title" translatable="false">Tap</string>
+
+</resources>
diff --git a/overlay/packages/apps/Settings/res/values-ja/rr_strings.xml b/overlay/packages/apps/Settings/res/values-ja/rr_strings.xml
new file mode 100644
index 0000000..7b06326
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values-ja/rr_strings.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The ResurrectionRemix 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Hardware button navigation -->
+ <string name="hardware_keys_home_key_title" translatable="false">Home button</string>
+ <string name="hardware_keys_menu_key_title" translatable="false">Swipe right</string>
+ <string name="hardware_keys_assist_key_title" translatable="false">Long tap</string>
+ <string name="hardware_keys_appswitch_key_title" translatable="false">Swipe left</string>
+ <string name="hardware_keys_back_key_title" translatable="false">Tap</string>
+
+</resources>
diff --git a/overlay/packages/apps/Settings/res/values-nl/rr_strings.xml b/overlay/packages/apps/Settings/res/values-nl/rr_strings.xml
new file mode 100644
index 0000000..7b06326
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values-nl/rr_strings.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The ResurrectionRemix 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Hardware button navigation -->
+ <string name="hardware_keys_home_key_title" translatable="false">Home button</string>
+ <string name="hardware_keys_menu_key_title" translatable="false">Swipe right</string>
+ <string name="hardware_keys_assist_key_title" translatable="false">Long tap</string>
+ <string name="hardware_keys_appswitch_key_title" translatable="false">Swipe left</string>
+ <string name="hardware_keys_back_key_title" translatable="false">Tap</string>
+
+</resources>
diff --git a/overlay/packages/apps/Settings/res/values-pl/rr_strings.xml b/overlay/packages/apps/Settings/res/values-pl/rr_strings.xml
new file mode 100644
index 0000000..7b06326
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values-pl/rr_strings.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The ResurrectionRemix 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Hardware button navigation -->
+ <string name="hardware_keys_home_key_title" translatable="false">Home button</string>
+ <string name="hardware_keys_menu_key_title" translatable="false">Swipe right</string>
+ <string name="hardware_keys_assist_key_title" translatable="false">Long tap</string>
+ <string name="hardware_keys_appswitch_key_title" translatable="false">Swipe left</string>
+ <string name="hardware_keys_back_key_title" translatable="false">Tap</string>
+
+</resources>
diff --git a/overlay/packages/apps/Settings/res/values-pt-rBR/rr_strings.xml b/overlay/packages/apps/Settings/res/values-pt-rBR/rr_strings.xml
new file mode 100644
index 0000000..7b06326
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values-pt-rBR/rr_strings.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The ResurrectionRemix 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Hardware button navigation -->
+ <string name="hardware_keys_home_key_title" translatable="false">Home button</string>
+ <string name="hardware_keys_menu_key_title" translatable="false">Swipe right</string>
+ <string name="hardware_keys_assist_key_title" translatable="false">Long tap</string>
+ <string name="hardware_keys_appswitch_key_title" translatable="false">Swipe left</string>
+ <string name="hardware_keys_back_key_title" translatable="false">Tap</string>
+
+</resources>
diff --git a/overlay/packages/apps/Settings/res/values-pt-rPT/rr_strings.xml b/overlay/packages/apps/Settings/res/values-pt-rPT/rr_strings.xml
new file mode 100644
index 0000000..7b06326
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values-pt-rPT/rr_strings.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The ResurrectionRemix 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Hardware button navigation -->
+ <string name="hardware_keys_home_key_title" translatable="false">Home button</string>
+ <string name="hardware_keys_menu_key_title" translatable="false">Swipe right</string>
+ <string name="hardware_keys_assist_key_title" translatable="false">Long tap</string>
+ <string name="hardware_keys_appswitch_key_title" translatable="false">Swipe left</string>
+ <string name="hardware_keys_back_key_title" translatable="false">Tap</string>
+
+</resources>
diff --git a/overlay/packages/apps/Settings/res/values-ru/rr_strings.xml b/overlay/packages/apps/Settings/res/values-ru/rr_strings.xml
new file mode 100644
index 0000000..7a2a829
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values-ru/rr_strings.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The ResurrectionRemix 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Hardware button navigation -->
+ <string name="hardware_keys_home_key_title">Кнопка Домой</string>
+ <string name="hardware_keys_menu_key_title">Свайп вправо</string>
+ <string name="hardware_keys_assist_key_title">Долгое касание</string>
+ <string name="hardware_keys_appswitch_key_title">Свайп влево</string>
+ <string name="hardware_keys_back_key_title">Касание</string>
+
+</resources>
diff --git a/overlay/packages/apps/Settings/res/values-sk/rr_strings.xml b/overlay/packages/apps/Settings/res/values-sk/rr_strings.xml
new file mode 100644
index 0000000..7b06326
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values-sk/rr_strings.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The ResurrectionRemix 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Hardware button navigation -->
+ <string name="hardware_keys_home_key_title" translatable="false">Home button</string>
+ <string name="hardware_keys_menu_key_title" translatable="false">Swipe right</string>
+ <string name="hardware_keys_assist_key_title" translatable="false">Long tap</string>
+ <string name="hardware_keys_appswitch_key_title" translatable="false">Swipe left</string>
+ <string name="hardware_keys_back_key_title" translatable="false">Tap</string>
+
+</resources>
diff --git a/overlay/packages/apps/Settings/res/values-tr/rr_strings.xml b/overlay/packages/apps/Settings/res/values-tr/rr_strings.xml
new file mode 100644
index 0000000..7b06326
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values-tr/rr_strings.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The ResurrectionRemix 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Hardware button navigation -->
+ <string name="hardware_keys_home_key_title" translatable="false">Home button</string>
+ <string name="hardware_keys_menu_key_title" translatable="false">Swipe right</string>
+ <string name="hardware_keys_assist_key_title" translatable="false">Long tap</string>
+ <string name="hardware_keys_appswitch_key_title" translatable="false">Swipe left</string>
+ <string name="hardware_keys_back_key_title" translatable="false">Tap</string>
+
+</resources>
diff --git a/overlay/packages/apps/Settings/res/values-uk/rr_strings.xml b/overlay/packages/apps/Settings/res/values-uk/rr_strings.xml
new file mode 100644
index 0000000..7b06326
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values-uk/rr_strings.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The ResurrectionRemix 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Hardware button navigation -->
+ <string name="hardware_keys_home_key_title" translatable="false">Home button</string>
+ <string name="hardware_keys_menu_key_title" translatable="false">Swipe right</string>
+ <string name="hardware_keys_assist_key_title" translatable="false">Long tap</string>
+ <string name="hardware_keys_appswitch_key_title" translatable="false">Swipe left</string>
+ <string name="hardware_keys_back_key_title" translatable="false">Tap</string>
+
+</resources>
diff --git a/overlay/packages/apps/Settings/res/values-vi/rr_strings.xml b/overlay/packages/apps/Settings/res/values-vi/rr_strings.xml
new file mode 100644
index 0000000..7b06326
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values-vi/rr_strings.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The ResurrectionRemix 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Hardware button navigation -->
+ <string name="hardware_keys_home_key_title" translatable="false">Home button</string>
+ <string name="hardware_keys_menu_key_title" translatable="false">Swipe right</string>
+ <string name="hardware_keys_assist_key_title" translatable="false">Long tap</string>
+ <string name="hardware_keys_appswitch_key_title" translatable="false">Swipe left</string>
+ <string name="hardware_keys_back_key_title" translatable="false">Tap</string>
+
+</resources>
diff --git a/overlay/packages/apps/Settings/res/values-zh-rCN/rr_strings.xml b/overlay/packages/apps/Settings/res/values-zh-rCN/rr_strings.xml
new file mode 100644
index 0000000..7b06326
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values-zh-rCN/rr_strings.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The ResurrectionRemix 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Hardware button navigation -->
+ <string name="hardware_keys_home_key_title" translatable="false">Home button</string>
+ <string name="hardware_keys_menu_key_title" translatable="false">Swipe right</string>
+ <string name="hardware_keys_assist_key_title" translatable="false">Long tap</string>
+ <string name="hardware_keys_appswitch_key_title" translatable="false">Swipe left</string>
+ <string name="hardware_keys_back_key_title" translatable="false">Tap</string>
+
+</resources>
diff --git a/overlay/packages/apps/Settings/res/values-zh-rHK/rr_strings.xml b/overlay/packages/apps/Settings/res/values-zh-rHK/rr_strings.xml
new file mode 100644
index 0000000..7b06326
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values-zh-rHK/rr_strings.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The ResurrectionRemix 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Hardware button navigation -->
+ <string name="hardware_keys_home_key_title" translatable="false">Home button</string>
+ <string name="hardware_keys_menu_key_title" translatable="false">Swipe right</string>
+ <string name="hardware_keys_assist_key_title" translatable="false">Long tap</string>
+ <string name="hardware_keys_appswitch_key_title" translatable="false">Swipe left</string>
+ <string name="hardware_keys_back_key_title" translatable="false">Tap</string>
+
+</resources>
diff --git a/overlay/packages/apps/Settings/res/values-zh-rTW/rr_strings.xml b/overlay/packages/apps/Settings/res/values-zh-rTW/rr_strings.xml
new file mode 100644
index 0000000..7b06326
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values-zh-rTW/rr_strings.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The ResurrectionRemix 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Hardware button navigation -->
+ <string name="hardware_keys_home_key_title" translatable="false">Home button</string>
+ <string name="hardware_keys_menu_key_title" translatable="false">Swipe right</string>
+ <string name="hardware_keys_assist_key_title" translatable="false">Long tap</string>
+ <string name="hardware_keys_appswitch_key_title" translatable="false">Swipe left</string>
+ <string name="hardware_keys_back_key_title" translatable="false">Tap</string>
+
+</resources>
diff --git a/overlay/packages/apps/Settings/res/values/rr_strings.xml b/overlay/packages/apps/Settings/res/values/rr_strings.xml
new file mode 100644
index 0000000..7b06326
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values/rr_strings.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The ResurrectionRemix 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Hardware button navigation -->
+ <string name="hardware_keys_home_key_title" translatable="false">Home button</string>
+ <string name="hardware_keys_menu_key_title" translatable="false">Swipe right</string>
+ <string name="hardware_keys_assist_key_title" translatable="false">Long tap</string>
+ <string name="hardware_keys_appswitch_key_title" translatable="false">Swipe left</string>
+ <string name="hardware_keys_back_key_title" translatable="false">Tap</string>
+
+</resources>
diff --git a/overlay/packages/apps/Settings/res/xml/rr_hw_keys.xml b/overlay/packages/apps/Settings/res/xml/rr_hw_keys.xml
new file mode 100644
index 0000000..1d6a85e
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/xml/rr_hw_keys.xml
@@ -0,0 +1,172 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2016 RR
+
+ 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.
+-->
+
+<PreferenceScreen
+
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
+ android:title="@string/button_settings">
+
+ <PreferenceCategory
+ android:key="hardware_keys"
+ android:title="@string/hardware_keys_category" >
+
+ <SwitchPreference
+ android:key="hardware_keys_disable"
+ android:title="@string/hardware_keys_disable_title" />
+
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:key="back_key"
+ android:title="@string/hardware_keys_back_key_title" >
+
+
+ <cyanogenmod.preference.CMSystemSettingSwitchPreference
+ android:key="back_wake_screen"
+ android:title="@string/button_wake_title"
+ android:defaultValue="false" />
+
+ <com.android.settings.rr.Preferences.ActionPreference
+ android:key="hwkeys_button_back_single_tap"
+ android:summary="@string/hardware_keys_single_tap_summary"
+ android:title="@string/hardware_keys_single_tap_title" >
+ </com.android.settings.rr.Preferences.ActionPreference>
+
+ <com.android.settings.rr.Preferences.ActionPreference
+ android:key="hwkeys_button_back_double_tap"
+ android:summary="@string/hardware_keys_double_tap_summary"
+ android:title="@string/hardware_keys_double_tap_title" >
+ </com.android.settings.rr.Preferences.ActionPreference>
+
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:key="home_key"
+ android:title="@string/hardware_keys_home_key_title" >
+
+
+ <cyanogenmod.preference.CMSystemSettingSwitchPreference
+ android:key="home_wake_screen"
+ android:title="@string/button_wake_title"
+ android:defaultValue="true" />
+
+ <SwitchPreference
+ android:key="home_answer_call"
+ android:title="@string/home_answer_call_title"
+ android:summary="@string/home_answer_call_summary"
+ android:persistent="false"/>
+
+ <com.android.settings.rr.Preferences.ActionPreference
+ android:key="hwkeys_button_home_single_tap"
+ android:summary="@string/hardware_keys_single_tap_summary"
+ android:title="@string/hardware_keys_single_tap_title" >
+ </com.android.settings.rr.Preferences.ActionPreference>
+
+ <com.android.settings.rr.Preferences.ActionPreference
+ android:key="hwkeys_button_home_long_press"
+ android:summary="@string/hardware_keys_long_press_summary"
+ android:title="@string/hardware_keys_long_press_title" >
+ </com.android.settings.rr.Preferences.ActionPreference>
+
+ <com.android.settings.rr.Preferences.ActionPreference
+ android:key="hwkeys_button_home_double_tap"
+ android:summary="@string/hardware_keys_double_tap_summary"
+ android:title="@string/hardware_keys_double_tap_title" >
+ </com.android.settings.rr.Preferences.ActionPreference>
+
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:key="app_switch_key"
+ android:title="@string/hardware_keys_appswitch_key_title" >
+
+ <com.android.settings.rr.Preferences.ActionPreference
+ android:key="hwkeys_button_overview_single_tap"
+ android:summary="@string/hardware_keys_single_tap_summary"
+ android:title="@string/hardware_keys_single_tap_title" >
+ </com.android.settings.rr.Preferences.ActionPreference>
+
+ <com.android.settings.rr.Preferences.ActionPreference
+ android:key="hwkeys_button_overview_double_tap"
+ android:summary="@string/hardware_keys_double_tap_summary"
+ android:title="@string/hardware_keys_double_tap_title" >
+ </com.android.settings.rr.Preferences.ActionPreference>
+
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:key="menu_key"
+ android:title="@string/hardware_keys_menu_key_title" >
+
+ <cyanogenmod.preference.CMSystemSettingSwitchPreference
+ android:key="menu_wake_screen"
+ android:title="@string/button_wake_title"
+ android:defaultValue="false" />
+
+ <com.android.settings.rr.Preferences.ActionPreference
+ android:key="hwkeys_button_menu_single_tap"
+ android:summary="@string/hardware_keys_single_tap_summary"
+ android:title="@string/hardware_keys_single_tap_title" >
+ </com.android.settings.rr.Preferences.ActionPreference>
+
+ <com.android.settings.rr.Preferences.ActionPreference
+ android:key="hwkeys_button_menu_double_tap"
+ android:summary="@string/hardware_keys_double_tap_summary"
+ android:title="@string/hardware_keys_double_tap_title" >
+ </com.android.settings.rr.Preferences.ActionPreference>
+
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:key="assist_key"
+ android:title="@string/hardware_keys_assist_key_title" >
+
+ <com.android.settings.rr.Preferences.ActionPreference
+ android:key="hwkeys_button_assist_single_tap"
+ android:summary="@string/hardware_keys_single_tap_summary"
+ android:title="@string/hardware_keys_single_tap_title" >
+ </com.android.settings.rr.Preferences.ActionPreference>
+
+ <com.android.settings.rr.Preferences.ActionPreference
+ android:key="hwkeys_button_assist_long_press"
+ android:summary="@string/hardware_keys_long_press_summary"
+ android:title="@string/hardware_keys_long_press_title" >
+ </com.android.settings.rr.Preferences.ActionPreference>
+
+ <com.android.settings.rr.Preferences.ActionPreference
+ android:key="hwkeys_button_assist_double_tap"
+ android:summary="@string/hardware_keys_double_tap_summary"
+ android:title="@string/hardware_keys_double_tap_title" >
+ </com.android.settings.rr.Preferences.ActionPreference>
+
+
+</PreferenceCategory>
+
+
+ <PreferenceCategory
+ android:key="power_key"
+ android:title="@string/hardware_keys_power_key_title" >
+
+ <SwitchPreference
+ android:key="power_end_call"
+ android:title="@string/power_end_call_title"
+ android:summary="@string/power_end_call_summary"
+ android:persistent="false"/>
+
+ </PreferenceCategory>
+
+</PreferenceScreen>