Make our tests large heap to workaround memory leak

Only a workaround, but should unblock our team.

Test: tradefed.sh run commandAndExit WmTests --include-annotation android.platform.test.annotations.Presubmit --exclude-annotation androidx.test.filters.FlakyTest
Bug: 123984854
Change-Id: I184e488938550290670ebe93badcdcca49e2bd4b
This commit is contained in:
Jorim Jaggi
2019-02-06 17:50:44 +01:00
parent 79282ebc9c
commit e426800485

View File

@@ -37,8 +37,10 @@
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.REORDER_TASKS" />
<!-- TODO: Remove largeHeap hack when memory leak is fixed (b/123984854) -->
<application android:debuggable="true"
android:testOnly="true">
android:testOnly="true"
android:largeHeap="true">
<uses-library android:name="android.test.mock" android:required="true" />
<activity android:name="com.android.server.wm.TaskStackChangedListenerTest$ActivityA" />