gralloc: Allow system heap to be uncached.

Remove an old check that prevented this from happening.

Change-Id: I938b11b27e58fc38a679dc55e31e7b51eb86bd3a
This commit is contained in:
Naseer Ahmed
2013-05-28 22:02:45 -04:00
committed by Gerrit - the friendly Code Review server
parent b9ebe5ad90
commit a6ad22dbd5

View File

@@ -75,9 +75,6 @@ static bool canFallback(int usage, bool triedSystem)
static bool useUncached(int usage)
{
// System heaps cannot be uncached
if(usage & GRALLOC_USAGE_PRIVATE_SYSTEM_HEAP)
return false;
if (usage & GRALLOC_USAGE_PRIVATE_UNCACHED)
return true;
return false;