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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user