Bug fixed for CTS failures on CtsDevicePolicyManagerTestCases
This test case does not claim to need more memory heap size, so the
device will base on default heapgrowthlimit size to limit the test
case's memory heap usage.
Some low ram device can not provide too much memory heap for every
application and limite memory heap size(ex: heapgrowthlimit=96m).
This test case will consume a lot of the memory and result in the
out of memory exception('Process crashed.', heap size over 96MB).
This test case should add the "largeHeap" to ask the more memory heap
from Dalvik to avoid the heap limitation by the device's
heapgrowthlimit size and run out of memory.
Bug: 199134848
Test: m CtsDevicePolicyManagerTestCases
Change-Id: I3d315421be51f1d6cc85beb3a6b4083408da8dbc
1 file changed