gralloc: Deprecate GRALLOC_USAGE_PRIVATE_UI_CONTIG_HEAP flag
Remove the unused gralloc flag: GRALLOC_USAGE_PRIVATE_UI_CONTIG_HEAP. It was only used when we had ION carveout allocations for UI. It is not needed anymore and no module is using it. Change-Id: I46ec5758ec3c753ee20426c258aa2a0a46f6a4ac
This commit is contained in:
@@ -294,9 +294,6 @@ int IonController::allocate(alloc_data& data, int usage)
|
||||
data.uncached = useUncached(usage);
|
||||
data.allocType = 0;
|
||||
|
||||
if(usage & GRALLOC_USAGE_PRIVATE_UI_CONTIG_HEAP)
|
||||
ionFlags |= ION_HEAP(ION_SF_HEAP_ID);
|
||||
|
||||
if(usage & GRALLOC_USAGE_PRIVATE_SYSTEM_HEAP)
|
||||
ionFlags |= ION_HEAP(ION_SYSTEM_HEAP_ID);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user