Turning off largeHeap on Crespo

Change-Id: I28dcd1db577688fe24c786f1519f442c690bff1d
This commit is contained in:
Adam Cohen 2011-07-25 14:54:22 -07:00
parent 5a808358f1
commit 56901eb57c
4 changed files with 4 additions and 2 deletions

View File

@ -68,7 +68,7 @@
android:label="@string/application_name" android:label="@string/application_name"
android:icon="@drawable/ic_launcher_home" android:icon="@drawable/ic_launcher_home"
android:hardwareAccelerated="@bool/config_hardwareAccelerated" android:hardwareAccelerated="@bool/config_hardwareAccelerated"
android:largeHeap="true"> android:largeHeap="@bool/config_largeHeap">
<activity <activity
android:name="com.android.launcher2.Launcher" android:name="com.android.launcher2.Launcher"
android:launchMode="singleTask" android:launchMode="singleTask"

View File

@ -1,4 +1,6 @@
<resources> <resources>
<bool name="config_largeHeap">true</bool>
<!-- AllApps/Customize/AppsCustomize --> <!-- AllApps/Customize/AppsCustomize -->
<!-- Out of 100, the percent to shrink the workspace during spring loaded mode. --> <!-- Out of 100, the percent to shrink the workspace during spring loaded mode. -->
<integer name="config_workspaceSpringLoadShrinkPercentage">90</integer> <integer name="config_workspaceSpringLoadShrinkPercentage">90</integer>

View File

@ -1,5 +1,6 @@
<resources> <resources>
<bool name="config_hardwareAccelerated">true</bool> <bool name="config_hardwareAccelerated">true</bool>
<bool name="config_largeHeap">false</bool>
<!-- AllApps/Customize/AppsCustomize --> <!-- AllApps/Customize/AppsCustomize -->
<!-- The alpha of the AppsCustomize bg in spring loaded mode --> <!-- The alpha of the AppsCustomize bg in spring loaded mode -->

View File

@ -3143,7 +3143,6 @@ public class Workspace extends SmoothPagedView
mSpringLoadedDragController = new SpringLoadedDragController(mLauncher); mSpringLoadedDragController = new SpringLoadedDragController(mLauncher);
mDragController = dragController; mDragController = dragController;
// hardware layers on children are enabled on startup, but should be disabled until // hardware layers on children are enabled on startup, but should be disabled until
// needed // needed
updateChildrenLayersEnabled(); updateChildrenLayersEnabled();