summaryrefslogtreecommitdiffstats
path: root/core/res/res/values/config.xml
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2011-02-24 16:29:27 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>2011-02-24 16:34:00 +0100
commit2d2e45880c1b92288907eaf591b9a8d0e652ff5c (patch)
treeca6206e32bc446c81f96b4f6e85baeec302b1f03 /core/res/res/values/config.xml
parent5dbc8f9e4907a455cf187574007d34daf414479a (diff)
downloadframeworks_base-2d2e45880c1b92288907eaf591b9a8d0e652ff5c.zip
frameworks_base-2d2e45880c1b92288907eaf591b9a8d0e652ff5c.tar.gz
frameworks_base-2d2e45880c1b92288907eaf591b9a8d0e652ff5c.tar.bz2
fix rotation mode deprecations errors(cannot find symbol)
Without that fix we have errors like that: packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/DisplayActivity.java:108: cannot find symbol symbol : variable ACCELEROMETER_ROTATE_180 location: class android.provider.Settings.System Settings.System.ACCELEROMETER_ROTATE_180, value ? 1 : 0); This patch was taken from: http://forum.cyanogenmod.com/topic/15353-froyo-compile-cannot-find-symbol-error/ Where the user named 'bjk' posted a patch in a post in that forum patch, with the following commit message: and another build fix. dont retain multi screen rotation settings. needs to be a bitwise comparision. but who cares. Change-Id: I428a396434db245e6379580b8eaa1a1384dd156d Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Diffstat (limited to 'core/res/res/values/config.xml')
-rw-r--r--core/res/res/values/config.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index 048e214..131e86a 100644
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -20,6 +20,11 @@
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. -->
<resources>
+ <!-- If this is true, the screen will fade off. -->
+ <bool name="config_animateScreenLights">true</bool>
+ <bool name="config_enableScreenOnAnimation">true</bool>
+ <bool name="config_enableScreenOffAnimation">true</bool>
+
<!-- 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