diff options
author | tedbo <tedbo@google.com> | 2011-01-07 15:19:33 -0800 |
---|---|---|
committer | tedbo <tedbo@google.com> | 2011-01-07 15:19:33 -0800 |
commit | c3bab1d7d30081ab9dae7c20188caaf5f54aae39 (patch) | |
tree | 944189d5c0d3fc0d47581f80d2284b482ce56498 /res/values | |
parent | f2f5d815774892c3de74fa209c75b14c0087af81 (diff) | |
download | android_packages_apps_Trebuchet-c3bab1d7d30081ab9dae7c20188caaf5f54aae39.tar.gz android_packages_apps_Trebuchet-c3bab1d7d30081ab9dae7c20188caaf5f54aae39.tar.bz2 android_packages_apps_Trebuchet-c3bab1d7d30081ab9dae7c20188caaf5f54aae39.zip |
Fix missing resource issue when running on Passion device.
This fixes an issue where the Launcher app will crash with a resource
not found exception when running on a non-xlarge device. The missing
resource(s) are config_workspaceScreenBitmapCacheScale and
config_maxScaleForUsingWorkspaceScreenBitmapCache. These were
introduced in commit bea15195346bab3c52b0156e92f2b71f0811b210. This
change moves those two resources into the common values.
Change-Id: Id642153fe514675f22ba37062544eefacf2d435e
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/config.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/res/values/config.xml b/res/values/config.xml index 473ed58e3..c56a8cec2 100644 --- a/res/values/config.xml +++ b/res/values/config.xml @@ -33,6 +33,12 @@ <!-- The distance at which the animation should take the max duration --> <integer name="config_dropAnimMaxDist">800</integer> + <!-- Workspace screens are cached to bitmaps only when they're smaller than a certain size + (maxScaleForUsingWorkspaceScreenBitmapCache), since the bitmap cache itself is smaller + than the view itself (workspaceScreenBitmapCacheScale) --> + <integer name="config_workspaceScreenBitmapCacheScale">20</integer> + <integer name="config_maxScaleForUsingWorkspaceScreenBitmapCache">50</integer> + <style name="config_orientation"> <item name="@android:screenOrientation">nosensor</item> </style> |