Turning off largeHeap on Crespo
Change-Id: I28dcd1db577688fe24c786f1519f442c690bff1d
This commit is contained in:
parent
5a808358f1
commit
56901eb57c
|
@ -68,7 +68,7 @@
|
|||
android:label="@string/application_name"
|
||||
android:icon="@drawable/ic_launcher_home"
|
||||
android:hardwareAccelerated="@bool/config_hardwareAccelerated"
|
||||
android:largeHeap="true">
|
||||
android:largeHeap="@bool/config_largeHeap">
|
||||
<activity
|
||||
android:name="com.android.launcher2.Launcher"
|
||||
android:launchMode="singleTask"
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
<resources>
|
||||
<bool name="config_largeHeap">true</bool>
|
||||
|
||||
<!-- AllApps/Customize/AppsCustomize -->
|
||||
<!-- Out of 100, the percent to shrink the workspace during spring loaded mode. -->
|
||||
<integer name="config_workspaceSpringLoadShrinkPercentage">90</integer>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<resources>
|
||||
<bool name="config_hardwareAccelerated">true</bool>
|
||||
<bool name="config_largeHeap">false</bool>
|
||||
|
||||
<!-- AllApps/Customize/AppsCustomize -->
|
||||
<!-- The alpha of the AppsCustomize bg in spring loaded mode -->
|
||||
|
|
|
@ -3143,7 +3143,6 @@ public class Workspace extends SmoothPagedView
|
|||
mSpringLoadedDragController = new SpringLoadedDragController(mLauncher);
|
||||
mDragController = dragController;
|
||||
|
||||
|
||||
// hardware layers on children are enabled on startup, but should be disabled until
|
||||
// needed
|
||||
updateChildrenLayersEnabled();
|
||||
|
|
Loading…
Reference in New Issue