| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (c) 2014, The Linux Foundation. All rights reserved. |
| |
| Redistribution and use in source and binary forms, with or without |
| modification, are permitted provided that the following conditions are |
| met: |
| * Redistributions of source code must retain the above copyright |
| notice, this list of conditions and the following disclaimer. |
| * Redistributions in binary form must reproduce the above |
| copyright notice, this list of conditions and the following |
| disclaimer in the documentation and/or other materials provided |
| with the distribution. |
| * Neither the name of The Linux Foundation nor the names of its |
| contributors may be used to endorse or promote products derived |
| from this software without specific prior written permission. |
| |
| THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED |
| WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
| MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT |
| ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS |
| BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR |
| BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
| OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
| IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE |
| --> |
| |
| <resources> |
| |
| <!-- Audio --> |
| <!-- Whether the Unprocessed audio source supports the required frequency range and level --> |
| <bool name="config_supportAudioSourceUnprocessed">true</bool> |
| |
| |
| <!-- Camera Shutter --> |
| <!-- Whether camera shutter sound is forced or not (country specific). --> |
| <bool name="config_camera_sound_forced">false</bool> |
| |
| |
| <!-- Dialer --> |
| <!-- The name of the package that will hold the dialer role by default. --> |
| <string name="config_defaultDialer" translatable="false">com.android.dialer</string> |
| |
| |
| <!-- Doze --> |
| <!-- Enable doze mode --> |
| <string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string> |
| <bool name="config_dozeAfterScreenOff">true</bool> |
| <!-- Screen brightness when dozing. --> |
| <integer name="config_screenBrightnessDoze">17</integer> |
| <bool name="config_powerDecoupleInteractiveModeFromDisplay">false</bool> |
| <bool name="config_setColorTransformAccelerated">true</bool> |
| |
| |
| <!-- Multi User --> |
| <!-- Maximum number of supported users --> |
| <integer name="config_multiuserMaximumUsers">4</integer> |
| <!-- Whether Multiuser UI should be shown --> |
| <bool name="config_enableMultiUserUI">true</bool> |
| |
| <!-- Emergency options --> |
| |
| <!-- Defines the default set of global actions. Actions may still be disabled or hidden based |
| on the current state of the device. |
| Each item must be one of the following strings: |
| "power" = Power off |
| "settings" = An action to launch settings |
| "airplane" = Airplane mode toggle |
| "bugreport" = Take bug report, if available |
| "silent" = silent mode |
| "users" = list of users |
| "restart" = restart device |
| "emergency" = Launch emergency dialer |
| "lockdown" = Lock down device until the user authenticates |
| "logout" = Logout the current user |
| --> |
| <string-array translatable="false" name="config_globalActionsList"> |
| <item>lockdown</item> |
| <item>power</item> |
| <item>restart</item> |
| <item>logout</item> |
| <item>screenshot</item> |
| <item>bugreport</item> |
| </string-array> |
| |
| <!-- Control the behavior when the user long presses the power button. |
| 0 - Nothing |
| 1 - Global actions menu |
| 2 - Power off (with confirmation) |
| 3 - Power off (without confirmation) |
| 4 - Go to voice assist |
| 5 - Go to assistant (Settings.Secure.ASSISTANT) |
| --> |
| <integer name="config_longPressOnPowerBehavior">1</integer> |
| |
| <!-- Control the behavior when the user presses the power and volume up buttons together. |
| 0 - Nothing |
| 1 - Mute toggle |
| 2 - Global actions menu |
| --> |
| <integer name="config_keyChordPowerVolumeUp">0</integer> |
| |
| |
| <!-- NTP Server --> |
| |
| <!-- Remote server that can provide NTP responses. --> |
| <string translatable="false" name="config_ntpServer">europe.pool.ntp.org</string> |
| |
| |
| <!-- Screen and Display --> |
| |
| <!-- Is the notification LED intrusive? Used to decide if there should be a disable option --> |
| <bool name="config_intrusiveNotificationLed">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> |
| |
| <!-- The maximum range of gamma adjustment possible using the screen |
| auto-brightness adjustment setting. --> |
| <fraction name="config_autoBrightnessAdjustmentMaxGamma">300%</fraction> |
| |
| <!-- Stability requirements in milliseconds for accepting a new brightness level. This is used |
| for debouncing the light sensor. Different constants are used to debounce the light sensor |
| when adapting to brighter or darker environments. This parameter controls how quickly |
| brightness changes occur in response to an observed change in light level that exceeds the |
| hysteresis threshold. --> |
| <integer name="config_autoBrightnessBrighteningLightDebounce">2000</integer> |
| <integer name="config_autoBrightnessDarkeningLightDebounce">8000</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">2</integer> |
| |
| <!-- Array of light sensor LUX values to define our levels for auto backlight brightness support. |
| The N entries of this array define N + 1 control points as follows: |
| (1-based arrays) |
| |
| Point 1: (0, value[1]): lux <= 0 |
| Point 2: (level[1], value[2]): 0 < lux <= level[1] |
| Point 3: (level[2], value[3]): level[2] < lux <= level[3] |
| ... |
| Point N+1: (level[N], value[N+1]): level[N] < lux |
| |
| The control points must be strictly increasing. Each control point |
| corresponds to an entry in the brightness backlight values arrays. |
| For example, if LUX == level[1] (first element of the levels array) |
| then the brightness will be determined by value[2] (second element |
| of the brightness values array). |
| |
| Spline interpolation is used to determine the auto-brightness |
| backlight values for LUX levels between these control points. |
| |
| Must be overridden in platform specific overlays --> |
| <integer-array name="config_autoBrightnessLevels"> |
| <item>1</item> |
| <item>2</item> |
| <item>3</item> |
| <item>4</item> |
| <item>8</item> |
| <item>12</item> |
| <item>20</item> |
| <item>33</item> |
| <item>55</item> |
| <item>90</item> |
| <item>148</item> |
| <item>245</item> |
| <item>403</item> |
| <item>665</item> |
| <item>1097</item> |
| <item>1808</item> |
| <item>2981</item> |
| <item>5000</item> |
| </integer-array> |
| |
| <!-- Array of desired screen brightness in nits corresponding to the lux values |
| in the config_autoBrightnessLevels array. As with config_screenBrightnessMinimumNits and |
| config_screenBrightnessMaximumNits, the display brightness is defined as the measured |
| brightness of an all-white image. |
| |
| If this is defined then: |
| - config_autoBrightnessLcdBacklightValues should not be defined |
| - config_screenBrightnessNits must be defined |
| - config_screenBrightnessBacklight must be defined |
| |
| This array should have size one greater than the size of the config_autoBrightnessLevels |
| array. The brightness values must be non-negative and non-decreasing. This must be |
| overridden in platform specific overlays --> |
| <array name="config_autoBrightnessDisplayValuesNits"> |
| <item>27.0</item> <!-- 0-1 --> |
| <item>29.25559</item> <!-- 1-2 --> |
| <item>34.240692</item> <!-- 2-3 --> |
| <item>37.514347</item> <!-- 3-4 --> |
| <item>40.018696</item> <!-- 4-8 --> |
| <item>46.885098</item> <!-- 8-12 --> |
| <item>51.626434</item> <!-- 12-20 --> |
| <item>58.610405</item> <!-- 20-33 --> |
| <item>66.890915</item> <!-- 33-55 --> |
| <item>77.61644</item> <!-- 55-90 --> |
| <item>90.221886</item> <!-- 90-148 --> |
| <item>105.80314</item> <!-- 148-245 --> |
| <item>126.073845</item> <!-- 245-403 --> |
| <item>154.16931</item> <!-- 403-665 --> |
| <item>191.83717</item> <!-- 665-1097 --> |
| <item>240.74442</item> <!-- 1097-1808 --> |
| <item>294.84857</item> <!-- 1808-2981 --> |
| <item>348.05453</item> <!-- 2981-5000 --> |
| <item>389.70</item> <!-- 5000+ --> |
| </array> |
| |
| <!-- An array of floats describing the screen brightness in nits corresponding to the backlight |
| values in the config_screenBrightnessBacklight array. On OLED displays these values |
| should be measured with an all white image while the display is in the fully on state. |
| Note that this value should *not* reflect the maximum brightness value for any high |
| brightness modes but only the maximum brightness value obtainable in a sustainable manner. |
| This array should be equal in size to config_screenBrightnessBacklight --> |
| <array name="config_screenBrightnessNits"> |
| <item>0</item> |
| <item>26.11</item> |
| <item>50.5</item> |
| <item>74.17</item> |
| <item>96.89</item> |
| <item>118.3</item> |
| <item>139.8</item> |
| <item>162.9</item> |
| <item>189.8</item> |
| <item>217.4</item> |
| <item>240.4</item> |
| <item>265.3</item> |
| <item>288.7</item> |
| <item>316</item> |
| <item>340.8</item> |
| <item>357.9</item> |
| <item>376.2</item> |
| <item>392.9</item> |
| </array> |
| |
| <!-- An array describing the screen's backlight values corresponding to the brightness |
| values in the config_screenBrightnessNits array. |
| |
| This array should be equal in size to config_screenBrightnessBacklight. --> |
| <integer-array name="config_screenBrightnessBacklight"> |
| <item>0</item> |
| <item>15</item> |
| <item>30</item> |
| <item>45</item> |
| <item>60</item> |
| <item>75</item> |
| <item>90</item> |
| <item>105</item> |
| <item>120</item> |
| <item>135</item> |
| <item>150</item> |
| <item>165</item> |
| <item>180</item> |
| <item>195</item> |
| <item>210</item> |
| <item>225</item> |
| <item>240</item> |
| <item>255</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. --> |
| <integer name="config_screenBrightnessDim">1</integer> |
| |
| <!-- Default screen brightness setting. |
| Must be in the range specified by minimum and maximum. --> |
| <integer name="config_screenBrightnessSettingDefault">71</integer> |
| |
| <!-- Indicate whether to allow the device to suspend when the screen is off |
| due to the proximity sensor. This resource should only be set to true |
| if the sensor HAL correctly handles the proximity sensor as a wake-up source. |
| Otherwise, the device may fail to wake out of suspend reliably. |
| The default is false. --> |
| <bool name="config_suspendWhenScreenOffDueToProximity">true</bool> |
| |
| <!-- If this is true, the screen will come on when you plug/unplug usb/power/whatever. --> |
| <bool name="config_unplugTurnsOnScreen">true</bool> |
| |
| |
| <!-- Navigation bar --> |
| |
| <!-- Enable system navigation keys. --> |
| <bool name="config_supportSystemNavigationKeys">true</bool> |
| |
| <!-- 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> |
| |
| |
| <!-- Headset volume --> |
| |
| <!-- Safe headphone volume index. When music stream volume is below this index |
| the SPL on headphone output is compliant to EN 60950 requirements for portable music |
| players. --> |
| <integer name="config_safe_media_volume_index">11</integer> |
| |
| <!-- Round Icons --> |
| |
| <!-- Set icon mask to circle --> |
| <string name="config_icon_mask" translatable="false">"M50 0A50 50,0,1,1,50 100A50 50,0,1,1,50 0"</string> |
| |
| <!-- Flag indicating whether round icons should be parsed from the application manifest. --> |
| <bool name="config_useRoundIcon">true</bool> |
| |
| |
| <!-- Biometics --> |
| |
| <!-- List of biometric sensors on the device, in decreasing strength. Consumed by AuthService |
| when registering authenticators with BiometricService. Format must be ID:Modality:Strength, |
| where: IDs are unique per device, Modality as defined in BiometricAuthenticator.java, |
| and Strength as defined in Authenticators.java --> |
| <string-array name="config_biometric_sensors" translatable="false" > |
| <item>0:2:255</item> <!-- ID0:Fingerprint:Weak --> |
| </string-array> |
| |
| |
| <!-- Vibrator pattern for feedback about touching a virtual key --> |
| <integer-array name="config_virtualKeyVibePattern"> |
| <item>20</item> |
| </integer-array> |
| |
| <!-- Vibrator pattern for feedback about a long screen/key press --> |
| <integer-array name="config_longPressVibePattern"> |
| <item>0</item> |
| <item>1</item> |
| <item>20</item> |
| <item>30</item> |
| </integer-array> |
| |
| |
| <!-- Quick Settings --> |
| |
| <!-- Whether this device is supporting the microphone toggle --> |
| <bool name="config_supportsMicToggle">true</bool> |
| <!-- Whether this device is supporting the camera toggle --> |
| <bool name="config_supportsCamToggle">true</bool> |
| |
| |
| <!-- NOTE: All Telephony/IMS/Operator Requirement configs to be added below this line. --> |
| |
| |
| <!-- Set to true to add links to Cell Broadcast app from Settings and MMS app. --> |
| <bool name="config_cellBroadcastAppLinks">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,60000,true"</item> |
| <item>"mobile_supl,3,0,2,60000,true"</item> |
| <item>"mobile_dun,4,0,2,60000,true"</item> |
| <item>"mobile_hipri,5,0,3,60000,true"</item> |
| <item>"mobile_fota,10,0,2,60000,true"</item> |
| <item>"mobile_ims,11,0,2,60000,true"</item> |
| <item>"mobile_cbs,12,0,2,60000,true"</item> |
| <item>"bluetooth,7,7,2,-1,true"</item> |
| <item>"mobile_emergency,15,0,5,-1,true"</item> |
| </string-array> |
| |
| <!-- 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> |
| |
| <!-- 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> |
| |
| <!-- Is the device capable of hot swapping an ICC Card --> |
| <bool name="config_hotswapCapable">true</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" |
| >https://techsupport.fairphone.com/uap/FP3EEA_UAP.xml</string> |
| |
| <!-- Configuration to restart radio upon PDP_DEACTIVATE with |
| error cause as Regular deactivation(36). --> |
| <!-- |
| <bool name="config_radio_reset_on_regular_deactivation">false</bool> |
| --> |
| <!-- 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> |
| |
| <!-- Flag specifying whether VoLTE, VT and WFC is available on device --> |
| <bool name="config_device_volte_available">true</bool> |
| <bool name="config_device_vt_available">true</bool> |
| <bool name="config_device_wfc_ims_available">true</bool> |
| |
| <!-- Flag specifying whether VoLTE & VT 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> |
| |
| <!-- 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>"5gnr:2097152,6291456,16777216,512000,2097152,8388608"</item> |
| <item>"lte:2097152,4194304,8388608,262144,524288,1048576"</item> |
| <item>"lte_ca:4096,6291456,12582912,4096,1048576,2097152"</item> |
| <item>"umts:4094,87380,1220608,4096,16384,1220608"</item> |
| <item>"hspa:4094,87380,1220608,4096,16384,1220608"</item> |
| <item>"hsupa:4094,87380,1220608,4096,16384,1220608"</item> |
| <item>"hsdpa:4094,87380,1220608,4096,16384,1220608"</item> |
| <item>"hspap:4094,87380,1220608,4096,16384,1220608"</item> |
| <item>"edge:4093,26280,35040,4096,16384,35040"</item> |
| <item>"gprs:4092,8760,11680,4096,8760,11680"</item> |
| <item>"evdo:4094,87380,524288,4096,16384,262144"</item> |
| </string-array> |
| |
| <!-- Default color for notification LED. --> |
| <color name="config_defaultNotificationColor">#FF0000FF</color> |
| |
| </resources> |