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
diff --git a/res/values-xlarge/config.xml b/res/values-xlarge/config.xml
index 8a103a3..d8ed214 100644
--- a/res/values-xlarge/config.xml
+++ b/res/values-xlarge/config.xml
@@ -54,12 +54,6 @@
<integer name="config_screenOnDropAlphaFadeDelay">350</integer>
<integer name="config_screenOnDropAlphaFadeDuration">50</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>
-
<!-- The slope, in percent, of the drag movement needed to drag an item out of the customization
drawer (y / x * 100%) -->
<integer name="config_customizationDrawerDragSlopeThreshold">150</integer>
diff --git a/res/values/config.xml b/res/values/config.xml
index 473ed58..c56a8ce 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>