Fix WallpaperCropper crash when setting wallpaper over 8MB

Use large heap for WallpaperCropper to avoid OOM crash in
createBitmap().

Change-Id: I1dc171286eaf0da37323ccf9fab046ca17e2ff07
Signed-off-by: Stephen Woo <stephen.m.woo@intel.com>
Signed-off-by: Dan Liang <dan.liang@intel.com>
This commit is contained in:
Stephen Woo
2015-07-06 14:35:14 -07:00
committed by Dan Liang
parent 582d16681b
commit cd2709ec7b

View File

@@ -21,7 +21,10 @@
<uses-permission android:name="android.permission.SET_WALLPAPER" />
<uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
<application android:requiredForAllUsers="true">
<application
android:requiredForAllUsers="true"
android:largeHeap="true">
<activity
android:name="WallpaperCropActivity"
android:theme="@style/Theme.WallpaperCropper"