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: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"
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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 -->
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue