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:
Sushil Chauhan
2014-12-30 10:23:22 -08:00
parent 453e7745a5
commit c8da337f63
2 changed files with 4 additions and 7 deletions

View File

@@ -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);