Add android.cts.device.lowram for libcore tests.

Some tests for libcore need to be disabled on low-ram devices. They
don't have access to ActivityManager or Android system properties, so
this forwards the result of ActivityManager.isLowRamDevice() into
System.setProperties.

Bug: 32004484
Test: CtsLibcoreTestCases
(cherry picked from commit 40f5b786c2a067401be3d79ff7809afcb11cfd91)

Change-Id: I59cd3036e61f089caca97db82a300c050c4d796a
1 file changed