summaryrefslogtreecommitdiffstats
path: root/minui/graphics_overlay.c
diff options
context:
space:
mode:
authorKra1o5 <kra1o5x@gmail.com>2015-04-23 21:46:36 +0200
committerKra1o5 <kra1o5x@gmail.com>2015-04-23 21:49:57 +0200
commitde50c5f5528930b31aa7981d8891370d6ea4e77e (patch)
tree5f046d5ba3cd4df0e5b6a6ba6b205bcf68657f93 /minui/graphics_overlay.c
parenttwrpTar: fix segfault after encrypted backups (diff)
downloadandroid_bootable_recovery-de50c5f5528930b31aa7981d8891370d6ea4e77e.tar
android_bootable_recovery-de50c5f5528930b31aa7981d8891370d6ea4e77e.tar.gz
android_bootable_recovery-de50c5f5528930b31aa7981d8891370d6ea4e77e.tar.bz2
android_bootable_recovery-de50c5f5528930b31aa7981d8891370d6ea4e77e.tar.lz
android_bootable_recovery-de50c5f5528930b31aa7981d8891370d6ea4e77e.tar.xz
android_bootable_recovery-de50c5f5528930b31aa7981d8891370d6ea4e77e.tar.zst
android_bootable_recovery-de50c5f5528930b31aa7981d8891370d6ea4e77e.zip
Diffstat (limited to 'minui/graphics_overlay.c')
-rw-r--r--minui/graphics_overlay.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/minui/graphics_overlay.c b/minui/graphics_overlay.c
index 5677ad73d..d793b57e6 100644
--- a/minui/graphics_overlay.c
+++ b/minui/graphics_overlay.c
@@ -145,7 +145,11 @@ int alloc_ion_mem(unsigned int size)
ionAllocData.flags = 0;
ionAllocData.len = size;
ionAllocData.align = sysconf(_SC_PAGESIZE);
+#ifdef NEW_ION_HEAP
+ ionAllocData.heap_id_mask =
+#else
ionAllocData.heap_mask =
+#endif
ION_HEAP(ION_IOMMU_HEAP_ID) |
ION_HEAP(ION_SYSTEM_CONTIG_HEAP_ID);