Skip to content

Commit

Permalink
overlay: clean up, enable USB screen on and expanded desktop pref
Browse files Browse the repository at this point in the history
  • Loading branch information
Daz Jones committed Apr 4, 2013
1 parent eb03325 commit eae4ae0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 27 deletions.
34 changes: 7 additions & 27 deletions overlay/frameworks/base/core/res/res/values/config.xml
Expand Up @@ -114,7 +114,7 @@
<bool name="config_automatic_brightness_available">true</bool>

<!-- If this is true, the screen will come on when you unplug usb/power/whatever. -->
<bool name="config_unplugTurnsOnScreen">false</bool>
<bool name="config_unplugTurnsOnScreen">true</bool>

<!-- If this is true, the screen will fade off. -->
<bool name="config_animateScreenLights">false</bool>
Expand Down Expand Up @@ -165,10 +165,6 @@
<item>255</item>
</integer-array>

<!-- Flag indicating whether we should enable automatic brightness for
the button and keyboard backlights.
<bool name="config_autoBrightnessButtonKeyboard">false</bool> -->

<!-- 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.
Expand All @@ -195,29 +191,13 @@
<item>0</item>
</integer-array>

<!-- Package name providing network location support.
<string name="config_networkLocationProviderPackageName">com.google.android.location.NetworkLocationProvider</string> -->

<!-- Package name providing geocoder API support.
<string name="config_geocodeProviderPackageName">com.google.android.location.GeocodeProvider</string> -->

<!-- Boolean indicating if current platform supports quick switch-on/off of
Bluetooth Module
<bool name="config_bluetooth_adapter_quick_switch">false</bool> -->

<!-- Set additional audio parameters for incall audio
Usage: parameter=onstring=offstring
Examples: <item>realcall=on=off</item> <item>dualmic_enabled=true=false</item> <item>mic_boost=yes=no</item>
Examples: <item>realcall=on=off</item>
<item>dualmic_enabled=true=false</item>
<item>mic_boost=yes=no</item> -->
<string-array name="config_telephony_set_audioparameters" translatable="false">
<item>dualmic_enabled=false=false</item>
</string-array> -->

<!-- Set additional audio parameters for incall audio
Usage: parameter=onstring=offstring
Examples: <item>realcall=on=off</item> <item>dualmic_enabled=true=false</item> <item>mic_boost=yes=no</item>
<string-array name="config_telephony_set_audioparameters" translatable="false">
<item>dualmic_enabled=false=false</item>
</string-array> -->
</string-array>

<!-- Hardware 'face' keys present on the device, stored as a bit field.
This integer should equal the sum of the corresponding value for each
Expand All @@ -228,7 +208,7 @@
8 - Assistant (search)
16 - App switch
For example, a device with Home, Back and Menu keys would set this
config to 7.
<integer name="config_deviceHardwareKeys">7</integer> -->
config to 7. -->
<integer name="config_deviceHardwareKeys">7</integer>

</resources>
3 changes: 3 additions & 0 deletions overlay/packages/apps/Settings/res/values/config.xml
Expand Up @@ -19,6 +19,9 @@
<!-- LED Flashlight -->
<bool name="has_led_flash">true</bool>

<!-- Show Expanded Desktop preference -->
<bool name="config_show_expandedDesktop">true</bool>

<!-- Volume Rocker Wake Support. Some devices do not support (PMU) this.
Setting to false will disable Volume Rocker Wake support -->
<bool name="config_show_volumeRockerWake">true</bool>
Expand Down

0 comments on commit eae4ae0

Please sign in to comment.